Closed jacobtomlinson closed 4 months ago
Attention: Patch coverage is 93.47826%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 95.28%. Comparing base (
87063fc
) to head (827391b
). Report is 119 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
kr8s/_objects.py | 25.00% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Taking first steps towards #428.
I started this PR by adding some type annotations to tests before deciding to just exclude tests, but I don't see ay harm in leaving those changes in.
I think the only thing we really care about is having good type annotations on the
kr8s
module itself, so I've excluded all other Python code frommypy
linting.Other typing fixes here include using
__all__
to explicitly re-export things at thekr8s
andkr8s.asyncio
levels and adding annotations to the exceptions submodule.After this PR there are
237
errors when runningmypy --strict .
.