Allow configuration via pyproject.toml · Issue #664 · nedbat/coveragepy (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
Originally reported by pradyunsg (Bitbucket: pradyunsg, GitHub: pradyunsg)
As per PEP 518, tools can use tool.<pypi-name>
namespace within the pyproject.toml
file if they own <pypi-name>
on PyPI.
Allowing configuration via the above mechanism would allow for users to have a single file in their root directory, for configuring this coverage
(and other tools) for their project. Essentially, this would allow eliminating a .coveragerc
file in the root of the project in favor of using pyproject.toml
.