소스 검색

Add pytest to pyproject.toml

kaliko 8 달 전
부모
커밋
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"