Closed bdraco closed 1 month ago
Attention: Patch coverage is 0%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 88.24%. Comparing base (
bc295fd
) to head (2f0cc3d
). Report is 2 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
src/propcache/_helpers_py.py | 0.00% | 0 Missing and 2 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I think Covdefaults only handles ellipsis on a separate line. Otherwise, it'd exclude too much.
I tried that but pre-commit moved them back
... and it just did here as well
It looks like this should also cover the same line: https://pypi.org/project/covdefaults/
Didn't fail, but still shows as partial on https://app.codecov.io/gh/aio-libs/propcache/pull/48/blob/src/propcache/_helpers_py.py
@bdraco that's not a pytest+coveragepy partial, though: https://app.codecov.io/gh/aio-libs/propcache/pull/48/blob/src/propcache/_helpers_py.py?flags%5B0%5D=pytest#L54. You can see it with only the pytest
flag set. It's coming from MyPy: https://app.codecov.io/gh/aio-libs/propcache/pull/48/blob/src/propcache/_helpers_py.py?flags%5B0%5D=MyPy.
To see MyPy coverage locally, do python3 -Im webbrowser $(ls -1 .tox/.tmp/.mypy/python-3.*/index.html | head -n 1)
after running pre-commit.
I get it, but the combined view is a bit misleading because it looks like there is a problem but there isn't. I'm not sure there is anything to do about it though.
yeah, this probably needs research
These should already be handled by covdefaults