浏览代码

Add pytest to pyproject.toml

kaliko 7 月之前
父节点
当前提交
d96c5f79fb
共有 1 个文件被更改,包括 4 次插入0 次删除
  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"