-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Prune mypy ignore_missing_imports list #12608
Commits on May 2, 2022
-
Make use of canonicaljson's type annotations
Added by me in canonicaljson 1.6.1.
David Robertson committedMay 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 5f139b8 - Browse repository at this point
Copy the full SHA 5f139b8View commit details -
The locked version of bcrypt has annotations
David Robertson committedMay 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 4241e29 - Browse repository at this point
Copy the full SHA 4241e29View commit details -
We haven't used
daemonize
since #8011.David Robertson committedMay 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 6162b2c - Browse repository at this point
Copy the full SHA 6162b2cView commit details -
Revert "Make use of canonicaljson's type annotations"
This reverts commit 5f139b8.
David Robertson committedMay 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 14c4458 - Browse repository at this point
Copy the full SHA 14c4458View commit details -
The ignore was added in #6023 (as was most of mypy.ini), but that change appears unrelated. I can't find anywhere that we've ever used `h11` in Synapse.
David Robertson committedMay 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 9e94ff1 - Browse repository at this point
Copy the full SHA 9e94ff1View commit details -
hiredis
includes type stubs since v2.0.0which is the version we have locked.
David Robertson committedMay 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 87810fe - Browse repository at this point
Copy the full SHA 87810feView commit details -
hyperlink has type annotations since 20.0.0
We have 21.0.0 in our lockfile. python-hyper/hyperlink@6313866
David Robertson committedMay 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 8d23186 - Browse repository at this point
Copy the full SHA 8d23186View commit details -
importlib-metadata has type annotations
In #12326 I added this config to get the tox mypy job to pass. It failed on a630a0a (see https://github.com/matrix-org/synapse/runs/5740930065?check_suite_focus=true) because tox hadn't installed importlib_metadata at all. Now that we're using the locked poetry environment, we don't have this problem any more.
David Robertson committedMay 2, 2022 Configuration menu - View commit details
-
Copy full SHA for a315212 - Browse repository at this point
Copy the full SHA a315212View commit details -
jaegar_client has type annotations
or at least, has enough annotations for mypy to not complain about missing imports.
David Robertson committedMay 2, 2022 Configuration menu - View commit details
-
Copy full SHA for c72faf6 - Browse repository at this point
Copy the full SHA c72faf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ee88b0 - Browse repository at this point
Copy the full SHA 2ee88b0View commit details -
jwt has annotations since 2.0.0
We lock 2.3.0. jpadilla/pyjwt#535
David Robertson committedMay 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 3e274d2 - Browse repository at this point
Copy the full SHA 3e274d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d302773 - Browse repository at this point
Copy the full SHA d302773View commit details -
phonenumbers has annotations since 8.12.32
We lock 8.12.44. See daviddrysdale/python-phonenumbers#207
David Robertson committedMay 2, 2022 Configuration menu - View commit details
-
Copy full SHA for b42c205 - Browse repository at this point
Copy the full SHA b42c205View commit details -
promethus_client is typed (enough)
as of v0.13.0 prometheus/client_python#705 we lock 0.14.0.
David Robertson committedMay 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 400acd9 - Browse repository at this point
Copy the full SHA 400acd9View commit details
Commits on May 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 68dd483 - Browse repository at this point
Copy the full SHA 68dd483View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c6c416 - Browse repository at this point
Copy the full SHA 4c6c416View commit details -
sentry_sdk seems to have py2-style type hints
David Robertson committedMay 3, 2022 Configuration menu - View commit details
-
Copy full SHA for 98a5069 - Browse repository at this point
Copy the full SHA 98a5069View commit details -
typechecker seems to work without twisted and zope
presumably twisted is well-annotated enough now. Twisted has a py.typed marker since about two years ago: twisted/twisted@b7a1102
David Robertson committedMay 3, 2022 Configuration menu - View commit details
-
Copy full SHA for 9161ada - Browse repository at this point
Copy the full SHA 9161adaView commit details -
David Robertson committed
May 3, 2022 Configuration menu - View commit details
-
Copy full SHA for d70493c - Browse repository at this point
Copy the full SHA d70493cView commit details -
David Robertson committed
May 3, 2022 Configuration menu - View commit details
-
Copy full SHA for 611d14a - Browse repository at this point
Copy the full SHA 611d14aView commit details