diff options
author | Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-09-09 23:05:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-09 23:05:00 +0200 |
commit | 0cc82c4c0de8771c1323cc2e183497d722ea5bfe (patch) | |
tree | 85ff551d96291e647a1b865ce13df9808ad3d4c5 /setup.cfg | |
parent | ddde4fc074d0b4ae678f5111aafd0f54f3ddf409 (diff) | |
download | pylint-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.cfg | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |