mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 13:06:53 +00:00
move from allowlist to blocklist for mypy
This commit is contained in:
parent
500e2de0a0
commit
411ff24392
11 changed files with 53 additions and 48 deletions
38
setup.cfg
38
setup.cfg
|
|
@ -102,33 +102,23 @@ universal = 1
|
|||
check_untyped_defs = true
|
||||
disallow_any_generics = true
|
||||
disallow_incomplete_defs = true
|
||||
# TODO: disallow_untyped_defs = true
|
||||
disallow_untyped_defs = true
|
||||
no_implicit_optional = true
|
||||
warn_unused_ignores = true
|
||||
|
||||
# TODO: until we opt in all the modules
|
||||
[mypy-flake8.__init__]
|
||||
disallow_untyped_defs = true
|
||||
[mypy-flake8.defaults]
|
||||
disallow_untyped_defs = true
|
||||
[mypy-flake8.discover_files]
|
||||
disallow_untyped_defs = true
|
||||
[mypy-flake8.exceptions]
|
||||
disallow_untyped_defs = true
|
||||
[mypy-flake8.formatting.*]
|
||||
disallow_untyped_defs = true
|
||||
[mypy-flake8.options.manager]
|
||||
disallow_untyped_defs = true
|
||||
[mypy-flake8.main.cli]
|
||||
disallow_untyped_defs = true
|
||||
[mypy-flake8.processor]
|
||||
disallow_untyped_defs = true
|
||||
[mypy-flake8.statistics]
|
||||
disallow_untyped_defs = true
|
||||
[mypy-flake8.style_guide]
|
||||
disallow_untyped_defs = true
|
||||
[mypy-flake8.utils]
|
||||
disallow_untyped_defs = true
|
||||
# TODO: fix these
|
||||
[mypy-flake8.api.legacy]
|
||||
disallow_untyped_defs = false
|
||||
[mypy-flake8.checker]
|
||||
disallow_untyped_defs = false
|
||||
[mypy-flake8.main.application]
|
||||
disallow_untyped_defs = false
|
||||
[mypy-flake8.main.debug]
|
||||
disallow_untyped_defs = false
|
||||
[mypy-flake8.options.config]
|
||||
disallow_untyped_defs = false
|
||||
[mypy-flake8.plugins.manager]
|
||||
disallow_untyped_defs = false
|
||||
|
||||
[mypy-tests.*]
|
||||
disallow_untyped_defs = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue