You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support .coveragerc.toml for configuration (#1952)
* Add .coveragerc.toml to configuration file search order
This adds .coveragerc.toml to the list of configuration files that
coverage.py will automatically search for, with higher priority
than pyproject.toml but lower than .coveragerc.
* Parametrize TOML tests to include .coveragerc.toml
Converts existing pyproject.toml tests to be parametrized to also
test .coveragerc.toml functionality, ensuring both TOML config
formats work identically.
* Add test for .coveragerc.toml priority over pyproject.toml
This test ensures that when both .coveragerc.toml and pyproject.toml
are present, .coveragerc.toml takes precedence as intended.
* Update documentation, changelog, and contributors list for new .coveragerc.toml configuration file support
* Update the documentation and fix code formatting in tests/test_config.py
* Provide typing for the new functions from code review
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
* Add the correct format in the documentation
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
* Add the correct description in the documentation
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
* Fix the test for non-coverage pyproject.toml without toml installed
* Fix the linting issues
* Edit D001 Line too long
* Move coveragerc.toml description to unreleased section
* Add support for unprefixed sections in the configuration
* Update cog-generated documentation
* Verify that unprefixed sections are ignored when present in pyproject.toml
* Use fr-string instead of escaped backslashes
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
* Fix error according to Ruff standards
* Apply suggestions from code review
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
* Update CHANGES.rst
---------
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
Co-authored-by: Ned Batchelder <[email protected]>
0 commit comments