Be stricter about mypy needing error codes

These make it clearer what's being ignored and harder to
accidentally ignore more than expected.
This commit is contained in:
Peter Law committed 2023-02-13 19:55:49 +00:00
1 parent 4eba7d697f
commit 171fd33cb6
3 files changed
+9 -6

No files matched your search

+3
View File
@@ -13,6 +13,9 @@ ignore =
[mypy]
show_error_codes = true
enable_error_code = ignore-without-code
disallow_subclassing_any = True
# Avoid creating future gotchas emerging from bad typing