mypy.ini 3.4 KB

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