mypy.ini 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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. warn_unreachable = True
  10. files =
  11. scripts-dev/sign_json,
  12. synapse/api,
  13. synapse/appservice,
  14. synapse/config,
  15. synapse/event_auth.py,
  16. synapse/events/builder.py,
  17. synapse/events/validator.py,
  18. synapse/events/spamcheck.py,
  19. synapse/federation,
  20. synapse/handlers/_base.py,
  21. synapse/handlers/account_data.py,
  22. synapse/handlers/account_validity.py,
  23. synapse/handlers/appservice.py,
  24. synapse/handlers/auth.py,
  25. synapse/handlers/cas_handler.py,
  26. synapse/handlers/deactivate_account.py,
  27. synapse/handlers/device.py,
  28. synapse/handlers/devicemessage.py,
  29. synapse/handlers/directory.py,
  30. synapse/handlers/events.py,
  31. synapse/handlers/federation.py,
  32. synapse/handlers/identity.py,
  33. synapse/handlers/initial_sync.py,
  34. synapse/handlers/message.py,
  35. synapse/handlers/oidc_handler.py,
  36. synapse/handlers/pagination.py,
  37. synapse/handlers/password_policy.py,
  38. synapse/handlers/presence.py,
  39. synapse/handlers/profile.py,
  40. synapse/handlers/read_marker.py,
  41. synapse/handlers/register.py,
  42. synapse/handlers/room.py,
  43. synapse/handlers/room_member.py,
  44. synapse/handlers/room_member_worker.py,
  45. synapse/handlers/saml_handler.py,
  46. synapse/handlers/sync.py,
  47. synapse/handlers/ui_auth,
  48. synapse/http/client.py,
  49. synapse/http/federation/matrix_federation_agent.py,
  50. synapse/http/federation/well_known_resolver.py,
  51. synapse/http/matrixfederationclient.py,
  52. synapse/http/server.py,
  53. synapse/http/site.py,
  54. synapse/logging,
  55. synapse/metrics,
  56. synapse/module_api,
  57. synapse/notifier.py,
  58. synapse/push/pusherpool.py,
  59. synapse/push/push_rule_evaluator.py,
  60. synapse/replication,
  61. synapse/rest,
  62. synapse/server.py,
  63. synapse/server_notices,
  64. synapse/spam_checker_api,
  65. synapse/state,
  66. synapse/storage/databases/main/appservice.py,
  67. synapse/storage/databases/main/events.py,
  68. synapse/storage/databases/main/registration.py,
  69. synapse/storage/databases/main/stream.py,
  70. synapse/storage/databases/main/ui_auth.py,
  71. synapse/storage/database.py,
  72. synapse/storage/engines,
  73. synapse/storage/persist_events.py,
  74. synapse/storage/state.py,
  75. synapse/storage/util,
  76. synapse/streams,
  77. synapse/types.py,
  78. synapse/util/async_helpers.py,
  79. synapse/util/caches,
  80. synapse/util/metrics.py,
  81. tests/replication,
  82. tests/test_utils,
  83. tests/handlers/test_password_providers.py,
  84. tests/rest/client/v2_alpha/test_auth.py,
  85. tests/util/test_stream_change_cache.py
  86. [mypy-pymacaroons.*]
  87. ignore_missing_imports = True
  88. [mypy-zope]
  89. ignore_missing_imports = True
  90. [mypy-bcrypt]
  91. ignore_missing_imports = True
  92. [mypy-constantly]
  93. ignore_missing_imports = True
  94. [mypy-twisted.*]
  95. ignore_missing_imports = True
  96. [mypy-treq.*]
  97. ignore_missing_imports = True
  98. [mypy-hyperlink]
  99. ignore_missing_imports = True
  100. [mypy-h11]
  101. ignore_missing_imports = True
  102. [mypy-opentracing]
  103. ignore_missing_imports = True
  104. [mypy-OpenSSL.*]
  105. ignore_missing_imports = True
  106. [mypy-netaddr]
  107. ignore_missing_imports = True
  108. [mypy-saml2.*]
  109. ignore_missing_imports = True
  110. [mypy-unpaddedbase64]
  111. ignore_missing_imports = True
  112. [mypy-canonicaljson]
  113. ignore_missing_imports = True
  114. [mypy-jaeger_client]
  115. ignore_missing_imports = True
  116. [mypy-jsonschema]
  117. ignore_missing_imports = True
  118. [mypy-signedjson.*]
  119. ignore_missing_imports = True
  120. [mypy-prometheus_client.*]
  121. ignore_missing_imports = True
  122. [mypy-service_identity.*]
  123. ignore_missing_imports = True
  124. [mypy-daemonize]
  125. ignore_missing_imports = True
  126. [mypy-sentry_sdk]
  127. ignore_missing_imports = True
  128. [mypy-PIL.*]
  129. ignore_missing_imports = True
  130. [mypy-lxml]
  131. ignore_missing_imports = True
  132. [mypy-jwt.*]
  133. ignore_missing_imports = True
  134. [mypy-authlib.*]
  135. ignore_missing_imports = True
  136. [mypy-rust_python_jaeger_reporter.*]
  137. ignore_missing_imports = True
  138. [mypy-nacl.*]
  139. ignore_missing_imports = True
  140. [mypy-hiredis]
  141. ignore_missing_imports = True