mypy.ini 3.2 KB

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