Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pyproject.toml and fix coverage #1027

Closed
vringar opened this issue Jan 18, 2023 · 0 comments · Fixed by #1028
Closed

Use pyproject.toml and fix coverage #1027

vringar opened this issue Jan 18, 2023 · 0 comments · Fixed by #1028

Comments

@vringar
Copy link
Contributor

vringar commented Jan 18, 2023

As described in the 4.0.0 release notes pytest-cov removed support for multiprocessing.
Instead of adding an additional config file, it seems seems better to migrate from the old setup.cfg to the new pyproject.toml and configure coverage there according to this documentation.

By migrating from the setup.cfg to pyproject.toml for all the other configuration we keep the amount of config files constant.

Both mypy and isort support and recommend pyproject.toml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant