-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Not really a major bug, but the confiuration for collecting test coverage with pytest is duplicated in two places:
To Reproduce
| addopts = "--cov={{cookiecutter.module_name}}" |
| pytest -v --color=yes --cov={{cookiecutter.module_name}} --cov-report=xml |
Expected behaviour
Configuration only in one place. I'd suggest keeping it in pyproject.toml, as then the coverage configuration is accesible outside of using tox, but will still be used by tox.
Log file
Please attach the log file if relevant.
Screenshots
If applicable, add screenshots to help explain your problem.
Computer used (please complete the following information):
- OS: [e.g. Linux, Windows, macOS] For macOS, please specify if you have an Intel or M1 CPU (M1 is likely if your mac is new).
- Version [e.g. 18.04]
- Hardware specs [e.g. 128 GB RAM, Xeon 4114 CPU].
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working