mirror of https://github.com/pallets/flask.git
Merge branch '2.0.x'
This commit is contained in:
commit
d03df1fff3
|
@ -34,7 +34,7 @@ classifiers =
|
||||||
[options]
|
[options]
|
||||||
packages = find:
|
packages = find:
|
||||||
package_dir = = src
|
package_dir = = src
|
||||||
include_package_data = true
|
include_package_data = True
|
||||||
python_requires = >= 3.7
|
python_requires = >= 3.7
|
||||||
# Dependencies are in setup.py for GitHub's dependency graph.
|
# Dependencies are in setup.py for GitHub's dependency graph.
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ source =
|
||||||
# F = flake8 pyflakes
|
# F = flake8 pyflakes
|
||||||
# W = pycodestyle warnings
|
# W = pycodestyle warnings
|
||||||
# B9 = bugbear opinions
|
# B9 = bugbear opinions
|
||||||
# ISC = implicit-str-concat
|
# ISC = implicit str concat
|
||||||
select = B, E, F, W, B9, ISC
|
select = B, E, F, W, B9, ISC
|
||||||
ignore =
|
ignore =
|
||||||
# slice notation whitespace, invalid
|
# slice notation whitespace, invalid
|
||||||
|
@ -83,12 +83,13 @@ ignore =
|
||||||
# up to 88 allowed by bugbear B950
|
# up to 88 allowed by bugbear B950
|
||||||
max-line-length = 80
|
max-line-length = 80
|
||||||
per-file-ignores =
|
per-file-ignores =
|
||||||
# __init__ module exports names
|
# __init__ exports names
|
||||||
src/flask/__init__.py: F401
|
src/flask/__init__.py: F401
|
||||||
|
|
||||||
[mypy]
|
[mypy]
|
||||||
files = src/flask
|
files = src/flask
|
||||||
python_version = 3.7
|
python_version = 3.7
|
||||||
|
show_error_codes = True
|
||||||
allow_redefinition = True
|
allow_redefinition = True
|
||||||
disallow_subclassing_any = True
|
disallow_subclassing_any = True
|
||||||
# disallow_untyped_calls = True
|
# disallow_untyped_calls = True
|
||||||
|
|
Loading…
Reference in New Issue