We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0f7618 commit 53afc44Copy full SHA for 53afc44
{{cookiecutter.module_name}}/pyproject.toml
@@ -38,9 +38,16 @@ docs = [
38
{% if cookiecutter.testing|lower != 'none' %}
39
[tool.pytest.ini_options]
40
addopts = [
41
- "--import-mode=importlib",
42
-{%- if cookiecutter.testing|lower == 'pytest-cov' %}
43
- "--cov={{cookiecutter.module_name}} --cov-report html --cov-report term-missing -v",
+ "--import-mode=importlib",
+{%- if cookiecutter.testing|lower == 'pytest-cov'%}
+ "--cov={{cookiecutter.module_name}}",
44
+ "--cov-report=html",
45
+ "--cov-report=term-missing",
46
+ "-v"
47
{%- endif %}
48
]
49
+
50
+testpaths = [
51
+ "tests"
52
+]
53
{% endif -%}
0 commit comments