diff options
author | David Robertson <davidr@element.io> | 2023-08-15 17:07:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 16:07:13 +0000 |
commit | 47c629bb27c0a479068ed5da184dffe7a6cb0fca (patch) | |
tree | 157f2e5a00828de56dbb8b9ea217367fd60b693b /mypy.ini | |
parent | Run pyupgrade for python 3.7 & 3.8. (#16110) (diff) | |
download | synapse-47c629bb27c0a479068ed5da184dffe7a6cb0fca.tar.xz |
Attempt to fix twisted trunk (#16115)
Diffstat (limited to 'mypy.ini')
-rw-r--r-- | mypy.ini | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mypy.ini b/mypy.ini index 1038b7d8c7..311a951aa8 100644 --- a/mypy.ini +++ b/mypy.ini @@ -45,6 +45,13 @@ warn_unused_ignores = False disallow_untyped_defs = False disallow_incomplete_defs = False +[mypy-synapse.util.manhole] +# This module imports something from Twisted which has a bad annotation in Twisted trunk, +# but is unannotated in Twisted's latest release. We want to type-ignore the problem +# in the twisted trunk job, even though it has no effect on normal mypy runs. +warn_unused_ignores = False + + ;; Dependencies without annotations ;; Before ignoring a module, check to see if type stubs are available. ;; The `typeshed` project maintains stubs here: |