mypy.ini 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. [mypy]
  2. namespace_packages = True
  3. plugins = mypy_zope:plugin, scripts-dev/mypy_synapse_plugin.py
  4. follow_imports = silent
  5. check_untyped_defs = True
  6. show_error_codes = True
  7. show_traceback = True
  8. mypy_path = stubs
  9. files =
  10. synapse/api,
  11. synapse/appservice,
  12. synapse/config,
  13. synapse/event_auth.py,
  14. synapse/events/builder.py,
  15. synapse/events/spamcheck.py,
  16. synapse/federation,
  17. synapse/handlers/auth.py,
  18. synapse/handlers/cas_handler.py,
  19. synapse/handlers/directory.py,
  20. synapse/handlers/events.py,
  21. synapse/handlers/federation.py,
  22. synapse/handlers/identity.py,
  23. synapse/handlers/initial_sync.py,
  24. synapse/handlers/message.py,
  25. synapse/handlers/oidc_handler.py,
  26. synapse/handlers/pagination.py,
  27. synapse/handlers/presence.py,
  28. synapse/handlers/room.py,
  29. synapse/handlers/room_member.py,
  30. synapse/handlers/room_member_worker.py,
  31. synapse/handlers/saml_handler.py,
  32. synapse/handlers/sync.py,
  33. synapse/handlers/ui_auth,
  34. synapse/http/federation/well_known_resolver.py,
  35. synapse/http/server.py,
  36. synapse/http/site.py,
  37. synapse/logging/,
  38. synapse/metrics,
  39. synapse/module_api,
  40. synapse/notifier.py,
  41. synapse/push/pusherpool.py,
  42. synapse/push/push_rule_evaluator.py,
  43. synapse/replication,
  44. synapse/rest,
  45. synapse/server.py,
  46. synapse/server_notices,
  47. synapse/spam_checker_api,
  48. synapse/state,
  49. synapse/storage/databases/main/stream.py,
  50. synapse/storage/databases/main/ui_auth.py,
  51. synapse/storage/database.py,
  52. synapse/storage/engines,
  53. synapse/storage/state.py,
  54. synapse/storage/util,
  55. synapse/streams,
  56. synapse/types.py,
  57. synapse/util/caches/descriptors.py,
  58. synapse/util/caches/stream_change_cache.py,
  59. synapse/util/metrics.py,
  60. tests/replication,
  61. tests/test_utils,
  62. tests/rest/client/v2_alpha/test_auth.py,
  63. tests/util/test_stream_change_cache.py
  64. [mypy-pymacaroons.*]
  65. ignore_missing_imports = True
  66. [mypy-zope]
  67. ignore_missing_imports = True
  68. [mypy-constantly]
  69. ignore_missing_imports = True
  70. [mypy-twisted.*]
  71. ignore_missing_imports = True
  72. [mypy-treq.*]
  73. ignore_missing_imports = True
  74. [mypy-hyperlink]
  75. ignore_missing_imports = True
  76. [mypy-h11]
  77. ignore_missing_imports = True
  78. [mypy-opentracing]
  79. ignore_missing_imports = True
  80. [mypy-OpenSSL]
  81. ignore_missing_imports = True
  82. [mypy-netaddr]
  83. ignore_missing_imports = True
  84. [mypy-saml2.*]
  85. ignore_missing_imports = True
  86. [mypy-unpaddedbase64]
  87. ignore_missing_imports = True
  88. [mypy-canonicaljson]
  89. ignore_missing_imports = True
  90. [mypy-jaeger_client]
  91. ignore_missing_imports = True
  92. [mypy-jsonschema]
  93. ignore_missing_imports = True
  94. [mypy-signedjson.*]
  95. ignore_missing_imports = True
  96. [mypy-prometheus_client.*]
  97. ignore_missing_imports = True
  98. [mypy-service_identity.*]
  99. ignore_missing_imports = True
  100. [mypy-daemonize]
  101. ignore_missing_imports = True
  102. [mypy-sentry_sdk]
  103. ignore_missing_imports = True
  104. [mypy-PIL.*]
  105. ignore_missing_imports = True
  106. [mypy-lxml]
  107. ignore_missing_imports = True
  108. [mypy-jwt.*]
  109. ignore_missing_imports = True
  110. [mypy-authlib.*]
  111. ignore_missing_imports = True
  112. [mypy-rust_python_jaeger_reporter.*]
  113. ignore_missing_imports = True
  114. [mypy-nacl.*]
  115. ignore_missing_imports = True