MatrixSynapse/mypy.ini

196 lines
4.6 KiB
INI
Raw Normal View History

[mypy]
namespace_packages = True
plugins = mypy_zope:plugin, scripts-dev/mypy_synapse_plugin.py
follow_imports = silent
check_untyped_defs = True
show_error_codes = True
show_traceback = True
mypy_path = stubs
warn_unreachable = True
# To find all folders that pass mypy you run:
#
# find synapse/* -type d -not -name __pycache__ -exec bash -c "mypy '{}' > /dev/null" \; -print
2020-08-26 15:59:37 +02:00
files =
scripts-dev/sign_json,
2020-08-26 15:59:37 +02:00
synapse/api,
synapse/appservice,
synapse/config,
synapse/crypto,
2020-08-26 15:59:37 +02:00
synapse/event_auth.py,
synapse/events/builder.py,
synapse/events/validator.py,
2020-08-26 15:59:37 +02:00
synapse/events/spamcheck.py,
synapse/federation,
synapse/handlers/_base.py,
synapse/handlers/account_data.py,
synapse/handlers/account_validity.py,
synapse/handlers/admin.py,
synapse/handlers/appservice.py,
2020-08-26 15:59:37 +02:00
synapse/handlers/auth.py,
synapse/handlers/cas_handler.py,
synapse/handlers/deactivate_account.py,
synapse/handlers/device.py,
synapse/handlers/devicemessage.py,
2020-08-26 15:59:37 +02:00
synapse/handlers/directory.py,
synapse/handlers/events.py,
2020-08-26 15:59:37 +02:00
synapse/handlers/federation.py,
synapse/handlers/identity.py,
synapse/handlers/initial_sync.py,
2020-08-26 15:59:37 +02:00
synapse/handlers/message.py,
synapse/handlers/oidc_handler.py,
synapse/handlers/pagination.py,
synapse/handlers/password_policy.py,
2020-08-26 15:59:37 +02:00
synapse/handlers/presence.py,
synapse/handlers/profile.py,
synapse/handlers/read_marker.py,
synapse/handlers/receipts.py,
synapse/handlers/register.py,
2020-08-26 15:59:37 +02:00
synapse/handlers/room.py,
synapse/handlers/room_list.py,
2020-08-26 15:59:37 +02:00
synapse/handlers/room_member.py,
synapse/handlers/room_member_worker.py,
synapse/handlers/saml_handler.py,
synapse/handlers/sso.py,
2020-08-26 15:59:37 +02:00
synapse/handlers/sync.py,
synapse/handlers/user_directory.py,
2020-08-26 15:59:37 +02:00
synapse/handlers/ui_auth,
synapse/http/client.py,
synapse/http/federation/matrix_federation_agent.py,
synapse/http/federation/well_known_resolver.py,
synapse/http/matrixfederationclient.py,
2020-08-26 15:59:37 +02:00
synapse/http/server.py,
synapse/http/site.py,
2020-09-08 22:50:51 +02:00
synapse/logging,
2020-08-26 15:59:37 +02:00
synapse/metrics,
synapse/module_api,
synapse/notifier.py,
synapse/push,
2020-08-26 15:59:37 +02:00
synapse/replication,
synapse/rest,
synapse/server.py,
synapse/server_notices,
synapse/spam_checker_api,
synapse/state,
synapse/storage/__init__.py,
synapse/storage/_base.py,
synapse/storage/background_updates.py,
synapse/storage/databases/main/appservice.py,
synapse/storage/databases/main/events.py,
synapse/storage/databases/main/keys.py,
synapse/storage/databases/main/pusher.py,
synapse/storage/databases/main/registration.py,
2020-09-02 18:52:38 +02:00
synapse/storage/databases/main/stream.py,
2020-08-26 15:59:37 +02:00
synapse/storage/databases/main/ui_auth.py,
synapse/storage/database.py,
synapse/storage/engines,
synapse/storage/keys.py,
synapse/storage/persist_events.py,
synapse/storage/prepare_database.py,
synapse/storage/purge_events.py,
synapse/storage/push_rule.py,
synapse/storage/relations.py,
synapse/storage/roommember.py,
2020-08-26 15:59:37 +02:00
synapse/storage/state.py,
synapse/storage/types.py,
2020-08-26 15:59:37 +02:00
synapse/storage/util,
synapse/streams,
synapse/types.py,
2020-09-08 22:50:51 +02:00
synapse/util/async_helpers.py,
synapse/util/caches,
2020-08-26 15:59:37 +02:00
synapse/util/metrics.py,
tests/replication,
tests/test_utils,
tests/handlers/test_password_providers.py,
2021-01-06 16:51:18 +01:00
tests/rest/client/v1/test_login.py,
2020-08-26 15:59:37 +02:00
tests/rest/client/v2_alpha/test_auth.py,
tests/util/test_stream_change_cache.py
2020-01-20 18:34:13 +01:00
[mypy-pymacaroons.*]
ignore_missing_imports = True
[mypy-zope]
ignore_missing_imports = True
[mypy-bcrypt]
ignore_missing_imports = True
[mypy-constantly]
ignore_missing_imports = True
[mypy-twisted.*]
ignore_missing_imports = True
[mypy-treq.*]
ignore_missing_imports = True
[mypy-hyperlink]
ignore_missing_imports = True
[mypy-h11]
ignore_missing_imports = True
[mypy-msgpack]
ignore_missing_imports = True
[mypy-opentracing]
ignore_missing_imports = True
[mypy-OpenSSL.*]
ignore_missing_imports = True
[mypy-netaddr]
ignore_missing_imports = True
[mypy-saml2.*]
ignore_missing_imports = True
[mypy-unpaddedbase64]
ignore_missing_imports = True
[mypy-canonicaljson]
ignore_missing_imports = True
[mypy-jaeger_client]
ignore_missing_imports = True
[mypy-jsonschema]
ignore_missing_imports = True
[mypy-signedjson.*]
ignore_missing_imports = True
[mypy-prometheus_client.*]
ignore_missing_imports = True
[mypy-service_identity.*]
ignore_missing_imports = True
[mypy-daemonize]
ignore_missing_imports = True
[mypy-sentry_sdk]
ignore_missing_imports = True
[mypy-PIL.*]
ignore_missing_imports = True
[mypy-lxml]
ignore_missing_imports = True
[mypy-jwt.*]
ignore_missing_imports = True
[mypy-authlib.*]
ignore_missing_imports = True
[mypy-rust_python_jaeger_reporter.*]
ignore_missing_imports = True
[mypy-nacl.*]
ignore_missing_imports = True
[mypy-hiredis]
ignore_missing_imports = True