summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorDaniël van Noord <13665637+DanielNoord@users.noreply.github.com>2022-09-09 23:05:00 +0200
committerGitHub <noreply@github.com>2022-09-09 23:05:00 +0200
commit0cc82c4c0de8771c1323cc2e183497d722ea5bfe (patch)
tree85ff551d96291e647a1b865ce13df9808ad3d4c5 /setup.cfg
parentddde4fc074d0b4ae678f5111aafd0f54f3ddf409 (diff)
downloadpylint-git-0cc82c4c0de8771c1323cc2e183497d722ea5bfe.tar.gz
Turn on ``mypy`` strict mode 🎉 (#7448)
* Ignore subclasses of Any * Add ignores for imported code and remove casts * Add disables for uninferable return values * Turn on ``mypy`` strict mode
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.cfg b/setup.cfg
index 51d6131da..01c53c377 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -39,13 +39,13 @@ max-complexity=39
min_python_version = 3.7.2
[mypy]
-no_implicit_optional = True
scripts_are_modules = True
warn_unused_ignores = True
-disallow_any_generics = True
show_error_codes = True
enable_error_code = ignore-without-code
-check_untyped_defs = True
+strict = True
+# TODO: Remove this once pytest has annotations
+disallow_untyped_decorators = False
[mypy-astroid.*]
ignore_missing_imports = True