summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-11-09 14:04:53 -0500
committerGitHub <noreply@github.com>2021-11-09 19:04:53 +0000
commit0ef69ddbdcf03d0630d41bb2a52d018e7ff11c2c (patch)
tree85b9b1d2c58db055d639ba9b5a0fadf366df72cd
parentRequire mypy for synapse/ & tests/ unless excluded (#11282) (diff)
downloadsynapse-0ef69ddbdcf03d0630d41bb2a52d018e7ff11c2c.tar.xz
Ignore missing imports for parameterized. (#11285)
This was due to a conflict between #11282, which changed
mypy configuration, and #11228, a normal change.
-rw-r--r--changelog.d/11285.misc1
-rw-r--r--mypy.ini3
2 files changed, 4 insertions, 0 deletions
diff --git a/changelog.d/11285.misc b/changelog.d/11285.misc
new file mode 100644
index 0000000000..4720519cbc
--- /dev/null
+++ b/changelog.d/11285.misc
@@ -0,0 +1 @@
+Require all files in synapse/ and tests/ to pass mypy unless specifically excluded.
diff --git a/mypy.ini b/mypy.ini
index 8c20c293aa..1752b82bc5 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -363,6 +363,9 @@ ignore_missing_imports = True
 [mypy-opentracing]
 ignore_missing_imports = True
 
+[mypy-parameterized.*]
+ignore_missing_imports = True
+
 [mypy-phonenumbers.*]
 ignore_missing_imports = True