diff options
Diffstat (limited to 'mypy.ini')
-rw-r--r-- | mypy.ini | 69 |
1 files changed, 34 insertions, 35 deletions
diff --git a/mypy.ini b/mypy.ini index 68437e5ce1..e7cb80b6eb 100644 --- a/mypy.ini +++ b/mypy.ini @@ -198,98 +198,97 @@ disallow_untyped_defs = True [mypy-tests.storage.test_user_directory] disallow_untyped_defs = True -[mypy-pymacaroons.*] -ignore_missing_imports = True +;; Dependencies without annotations +;; Before ignoring a module, check to see if type stubs are available. +;; The `typeshed` project maintains stubs here: +;; https://github.com/python/typeshed/tree/master/stubs +;; and for each package `foo` there's a corresponding `types-foo` package on PyPI, +;; which we can pull in as a dev dependency by adding to `setup.py`'s +;; `CONDITIONAL_REQUIREMENTS["mypy"]` list. -[mypy-zope] +[mypy-authlib.*] ignore_missing_imports = True [mypy-bcrypt] ignore_missing_imports = True -[mypy-constantly] -ignore_missing_imports = True - -[mypy-twisted.*] +[mypy-canonicaljson] ignore_missing_imports = True -[mypy-treq.*] +[mypy-constantly] ignore_missing_imports = True -[mypy-hyperlink] +[mypy-daemonize] ignore_missing_imports = True [mypy-h11] ignore_missing_imports = True -[mypy-msgpack] -ignore_missing_imports = True - -[mypy-opentracing] +[mypy-hiredis] ignore_missing_imports = True -[mypy-OpenSSL.*] +[mypy-hyperlink] ignore_missing_imports = True -[mypy-netaddr] +[mypy-ijson.*] ignore_missing_imports = True -[mypy-saml2.*] +[mypy-jaeger_client.*] ignore_missing_imports = True -[mypy-canonicaljson] +[mypy-josepy.*] ignore_missing_imports = True -[mypy-jaeger_client.*] +[mypy-jwt.*] ignore_missing_imports = True -[mypy-jsonschema] +[mypy-lxml] ignore_missing_imports = True -[mypy-signedjson.*] +[mypy-msgpack] ignore_missing_imports = True -[mypy-prometheus_client.*] +[mypy-nacl.*] ignore_missing_imports = True -[mypy-service_identity.*] +[mypy-netaddr] ignore_missing_imports = True -[mypy-daemonize] +[mypy-opentracing] ignore_missing_imports = True -[mypy-sentry_sdk] +[mypy-phonenumbers.*] ignore_missing_imports = True -[mypy-PIL.*] +[mypy-prometheus_client.*] ignore_missing_imports = True -[mypy-lxml] +[mypy-pymacaroons.*] ignore_missing_imports = True -[mypy-jwt.*] +[mypy-pympler.*] ignore_missing_imports = True -[mypy-authlib.*] +[mypy-rust_python_jaeger_reporter.*] ignore_missing_imports = True -[mypy-rust_python_jaeger_reporter.*] +[mypy-saml2.*] ignore_missing_imports = True -[mypy-nacl.*] +[mypy-sentry_sdk] ignore_missing_imports = True -[mypy-hiredis] +[mypy-service_identity.*] ignore_missing_imports = True -[mypy-josepy.*] +[mypy-signedjson.*] ignore_missing_imports = True -[mypy-pympler.*] +[mypy-treq.*] ignore_missing_imports = True -[mypy-phonenumbers.*] +[mypy-twisted.*] ignore_missing_imports = True -[mypy-ijson.*] +[mypy-zope] ignore_missing_imports = True |