-
Notifications
You must be signed in to change notification settings - Fork 27
parsers: fix typing in socket.py #224
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
Conversation
Signed-off-by: Mikhail Koviazin <github@mkmk.aleeas.com>
41e371b to
79c0e19
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #224 +/- ## ========================================== - Coverage 76.30% 73.80% -2.51% ========================================== Files 130 130 Lines 33954 33958 +4 ========================================== - Hits 25909 25062 -847 - Misses 8045 8896 +851 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Okay apparently None is a valid value here that we'd like to pass, this is causing tests to fail.
In order to make mypy happier, I'll need TypeGuard that is introduced in 3.10, so I'll wait until #220 is merged.
Pull Request check-list
Make mypy slightly happier by fixing some typing in
socket.pyDescription of change