add typing to src/flake8/__init__.py

This commit is contained in:
Anthony Sottile 2021-11-14 08:30:10 -08:00
parent 002a99ec1b
commit 5bed787883
2 changed files with 8 additions and 1 deletions

View file

@ -107,6 +107,8 @@ 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.exceptions]