Browse Source

Add pytest to pyproject.toml

kaliko 8 tháng trước cách đây
mục cha
commit
d96c5f79fb
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      pyproject.toml

+ 4 - 0
pyproject.toml

@@ -46,3 +46,7 @@ packages = ["borgmatic"]
 [tool.black]
 line-length = 100
 skip-string-normalization = true
+
+[tool.pytest.ini_options]
+testpaths = "tests"
+addopts = "--cov-report term-missing:skip-covered --cov=borgmatic --ignore=tests/end-to-end"