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.
Describe the bug Not really a major bug, but the confiuration for collecting test coverage with pytest is duplicated in two places:
To Reproduce https://github.com/neuroinformatics-unit/python-cookiecutter/blob/6fe2e3986fb26ca0e288cee6f182db63973f5607/%7B%7Bcookiecutter.package_name%7D%7D/pyproject.toml#L84
https://github.com/neuroinformatics-unit/python-cookiecutter/blob/6fe2e3986fb26ca0e288cee6f182db63973f5607/%7B%7Bcookiecutter.package_name%7D%7D/tox.ini#L15
Expected behaviour Configuration only in one place. I'd suggest keeping it in
pyproject.toml
, as then the coverage configuration is accesible outside of usingtox
, but will still be used bytox
.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):
Additional context Add any other context about the problem here.