2019-09-12 16:29:55 +00:00
|
|
|
[mypy]
|
2019-10-31 15:43:24 +00:00
|
|
|
namespace_packages = True
|
2020-09-03 14:38:32 +00:00
|
|
|
plugins = mypy_zope:plugin, scripts-dev/mypy_synapse_plugin.py
|
2019-12-06 17:42:26 +00:00
|
|
|
follow_imports = silent
|
2019-10-31 15:43:24 +00:00
|
|
|
check_untyped_defs = True
|
|
|
|
show_error_codes = True
|
|
|
|
show_traceback = True
|
|
|
|
mypy_path = stubs
|
2020-10-01 12:09:18 +00:00
|
|
|
warn_unreachable = True
|
2020-08-26 13:59:37 +00:00
|
|
|
files =
|
|
|
|
synapse/api,
|
|
|
|
synapse/appservice,
|
|
|
|
synapse/config,
|
|
|
|
synapse/event_auth.py,
|
|
|
|
synapse/events/builder.py,
|
|
|
|
synapse/events/spamcheck.py,
|
|
|
|
synapse/federation,
|
|
|
|
synapse/handlers/auth.py,
|
|
|
|
synapse/handlers/cas_handler.py,
|
|
|
|
synapse/handlers/directory.py,
|
2020-09-03 21:02:29 +00:00
|
|
|
synapse/handlers/events.py,
|
2020-08-26 13:59:37 +00:00
|
|
|
synapse/handlers/federation.py,
|
|
|
|
synapse/handlers/identity.py,
|
2020-09-03 21:02:29 +00:00
|
|
|
synapse/handlers/initial_sync.py,
|
2020-08-26 13:59:37 +00:00
|
|
|
synapse/handlers/message.py,
|
|
|
|
synapse/handlers/oidc_handler.py,
|
2020-09-03 21:02:29 +00:00
|
|
|
synapse/handlers/pagination.py,
|
2020-08-26 13:59:37 +00:00
|
|
|
synapse/handlers/presence.py,
|
|
|
|
synapse/handlers/room.py,
|
|
|
|
synapse/handlers/room_member.py,
|
|
|
|
synapse/handlers/room_member_worker.py,
|
|
|
|
synapse/handlers/saml_handler.py,
|
|
|
|
synapse/handlers/sync.py,
|
|
|
|
synapse/handlers/ui_auth,
|
2020-09-01 13:15:22 +00:00
|
|
|
synapse/http/federation/well_known_resolver.py,
|
2020-08-26 13:59:37 +00:00
|
|
|
synapse/http/server.py,
|
|
|
|
synapse/http/site.py,
|
2020-09-08 20:50:51 +00:00
|
|
|
synapse/logging,
|
2020-08-26 13:59:37 +00:00
|
|
|
synapse/metrics,
|
|
|
|
synapse/module_api,
|
|
|
|
synapse/notifier.py,
|
|
|
|
synapse/push/pusherpool.py,
|
|
|
|
synapse/push/push_rule_evaluator.py,
|
|
|
|
synapse/replication,
|
|
|
|
synapse/rest,
|
|
|
|
synapse/server.py,
|
|
|
|
synapse/server_notices,
|
|
|
|
synapse/spam_checker_api,
|
|
|
|
synapse/state,
|
2020-09-11 11:22:55 +00:00
|
|
|
synapse/storage/databases/main/events.py,
|
2020-09-02 16:52:38 +00:00
|
|
|
synapse/storage/databases/main/stream.py,
|
2020-08-26 13:59:37 +00:00
|
|
|
synapse/storage/databases/main/ui_auth.py,
|
|
|
|
synapse/storage/database.py,
|
|
|
|
synapse/storage/engines,
|
2020-09-11 11:22:55 +00:00
|
|
|
synapse/storage/persist_events.py,
|
2020-08-26 13:59:37 +00:00
|
|
|
synapse/storage/state.py,
|
|
|
|
synapse/storage/util,
|
|
|
|
synapse/streams,
|
|
|
|
synapse/types.py,
|
2020-09-08 20:50:51 +00:00
|
|
|
synapse/util/async_helpers.py,
|
2020-09-03 14:38:32 +00:00
|
|
|
synapse/util/caches/descriptors.py,
|
2020-08-26 13:59:37 +00:00
|
|
|
synapse/util/caches/stream_change_cache.py,
|
|
|
|
synapse/util/metrics.py,
|
|
|
|
tests/replication,
|
|
|
|
tests/test_utils,
|
|
|
|
tests/rest/client/v2_alpha/test_auth.py,
|
|
|
|
tests/util/test_stream_change_cache.py
|
2019-09-12 16:29:55 +00:00
|
|
|
|
2020-01-20 17:34:13 +00:00
|
|
|
[mypy-pymacaroons.*]
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
2019-09-12 16:29:55 +00:00
|
|
|
[mypy-zope]
|
|
|
|
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-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
|
2019-10-10 08:39:35 +00:00
|
|
|
|
|
|
|
[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
|
2020-01-20 17:38:21 +00:00
|
|
|
|
|
|
|
[mypy-PIL.*]
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
[mypy-lxml]
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
[mypy-jwt.*]
|
|
|
|
ignore_missing_imports = True
|
2020-05-08 12:30:40 +00:00
|
|
|
|
|
|
|
[mypy-authlib.*]
|
|
|
|
ignore_missing_imports = True
|
2020-06-17 13:13:41 +00:00
|
|
|
|
|
|
|
[mypy-rust_python_jaeger_reporter.*]
|
|
|
|
ignore_missing_imports = True
|
2020-08-12 14:05:50 +00:00
|
|
|
|
|
|
|
[mypy-nacl.*]
|
|
|
|
ignore_missing_imports = True
|
2020-10-02 08:57:12 +00:00
|
|
|
|
|
|
|
[mypy-hiredis]
|
|
|
|
ignore_missing_imports = True
|