We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b7b8e41 + e81361b commit 502e129Copy full SHA for 502e129
1 file changed
{{cookiecutter.project_name}}/pyproject.toml
@@ -81,14 +81,15 @@ warn_return_any = true
81
show_error_codes = true
82
warn_unused_ignores = true
83
84
-[tool.pytest.ini_options]
85
-addopts = """\
86
- --cov \
87
- --cov-append \
88
- --cov-report term \
89
- --cov-report xml:.pytest_coverage.xml \
90
- --junitxml=.pytest_results.xml \
91
-"""
+[tool.pytest]
+testpaths = ['tests']
+addopts = [
+ "--cov",
+ "--cov-append",
+ "--cov-report=term",
+ "--cov-report=xml:.pytest_coverage.xml",
+ "--junitxml=.pytest_results.xml",
92
+]
93
94
[tool.ruff]
95
target-version = "py310"
0 commit comments