Remove forced config file default of .coveragerc
There has been support for pyproject.toml ever since 5.0 https://github.com/nedbat/coveragepy/issues/664#issuecomment-552516277 and based on https://coverage.readthedocs.io/en/6.2/config.html it will automatically find the right file (logic here: https://github.com/nedbat/coveragepy/blob/6.2/coverage/config.py#L493-L519)
I tested this locally and now config can properly be read from the other fallback files
@ionelmc @graingert Hello! When you get a moment can you please take a look at this? I can't figure out why the failures are occurring.
Ooof sorry for delay, CI approved now. At first glance it seem fine. Please also update AUTHORS/CHANGELOG.rst
Done! I don't know how to fix the tests though.
Can I please get help with this?
Hello, sorry for tardy response - can you rebase on the master? The CI was cleaned up.
Done!
I'm not sure how to fix
I still can't figure it out
Can you please help?
@ofek this looks old and needs conflict resolution. Try rebasing once more?
CI was failing and I don't think the maintainer has time for this unfortunately so there's no point. If you really want me to I will but I feel like it's a waste of time.
Sorry, I know this feels bad, having to rebase over and over. But I did point in code commends at the potential cause of the regressions. In hindsight I should have asked you to describe more clearly what this PR is supposed to do and help figure out a good solution instead of reviewing a solution that I am not sure what is supposed to fix. Maybe that would had gotten things moving faster.
Can we restart this? Is there a problem with pytest-cov loading the coverage configuration from a pyproject.toml?