diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-05-10 19:16:49 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-05-10 19:16:49 +0200 |
commit | b737874c52776be26b8aebe648e904e856673592 (patch) | |
tree | edc433132e908b06ee27e7d150b486574ca7ed99 /mypy.ini | |
parent | 341aa4ea751bc7e15a421e0ffe91d1d06812ae97 (diff) | |
download | qutebrowser-b737874c52776be26b8aebe648e904e856673592.tar.gz qutebrowser-b737874c52776be26b8aebe648e904e856673592.zip |
mypy: Reorganize --strict flags
Diffstat (limited to 'mypy.ini')
-rw-r--r-- | mypy.ini | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -4,23 +4,24 @@ python_version = 3.6 # --strict -warn_redundant_casts = True -warn_unused_ignores = True +warn_unused_configs = True +# disallow_any_generics = True disallow_subclassing_any = True -disallow_untyped_decorators = True -## https://github.com/python/mypy/issues/5957 -# warn_unused_configs = True # disallow_untyped_calls = True # disallow_untyped_defs = True ## https://github.com/python/mypy/issues/5954 # disallow_incomplete_defs = True check_untyped_defs = True +disallow_untyped_decorators = True # no_implicit_optional = True +warn_redundant_casts = True +warn_unused_ignores = True # warn_return_any = True -warn_unreachable = True +# no_implicit_reexport = True +strict_equality = True # Other strictness flags -strict_equality = True +warn_unreachable = True # Output show_error_codes = True |