diff --git a/setup.cfg b/setup.cfg index 131b3ad3..31a590a4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,7 +34,7 @@ classifiers = [options] packages = find: package_dir = = src -include_package_data = true +include_package_data = True python_requires = >= 3.7 # Dependencies are in setup.py for GitHub's dependency graph. @@ -67,7 +67,7 @@ source = # F = flake8 pyflakes # W = pycodestyle warnings # B9 = bugbear opinions -# ISC = implicit-str-concat +# ISC = implicit str concat select = B, E, F, W, B9, ISC ignore = # slice notation whitespace, invalid @@ -83,12 +83,13 @@ ignore = # up to 88 allowed by bugbear B950 max-line-length = 80 per-file-ignores = - # __init__ module exports names + # __init__ exports names src/flask/__init__.py: F401 [mypy] files = src/flask python_version = 3.7 +show_error_codes = True allow_redefinition = True disallow_subclassing_any = True # disallow_untyped_calls = True