-
Notifications
You must be signed in to change notification settings - Fork 213
coverage precision option #655
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
Comments
Do you really need a cli option for this? You can set it in your coverage config file: https://coverage.readthedocs.io/en/7.6.1/config.html#report-precision |
Thanks for the feedback. Sure, it is possible. Philosophically, I try to avoid having files which change the behavior of commands if I can, in order to have a functional command behavior without such hidden side effects. Option |
Well ok. Would you be interested in making a pr? |
Possibly. I will have a look. |
👍 |
Coverage supports the
--precision
option which is convenient to adjust reported and expected subpercent coverage, howeverpytest-cov
seems not to offer a corresponding--cov-precision
option.The text was updated successfully, but these errors were encountered: