flask/setup.cfg

41 lines
761 B
INI
Raw Normal View History

[tool:pytest]
testpaths = tests
2020-04-04 08:23:21 +08:00
filterwarnings =
error
2018-04-13 03:37:35 +08:00
[coverage:run]
branch = True
source =
flask
tests
[coverage:paths]
source =
2020-04-04 08:23:21 +08:00
src
*/site-packages
2019-06-01 01:38:39 +08:00
[flake8]
# B = bugbear
# E = pycodestyle errors
# F = flake8 pyflakes
# W = pycodestyle warnings
# B9 = bugbear opinions
2020-04-05 00:43:06 +08:00
# ISC = implicit-str-concat
select = B, E, F, W, B9, ISC
2019-06-01 01:38:39 +08:00
ignore =
# slice notation whitespace, invalid
E203
# import at top, too many circular import fixes
E402
# line length, handled by bugbear B950
E501
# bare except, handled by bugbear B001
E722
# bin op line break, invalid
W503
# up to 88 allowed by bugbear B950
max-line-length = 80
per-file-ignores =
2020-04-05 00:43:06 +08:00
# __init__ module exports names
src/flask/__init__.py: F401