mypy.ini 3.5 KB

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