2016-09-08 12:24:07 -05:00
|
|
|
[tool:pytest]
|
2017-05-24 15:41:35 -07:00
|
|
|
testpaths = tests
|
2020-04-03 17:23:21 -07:00
|
|
|
filterwarnings =
|
|
|
|
|
error
|
2018-04-12 12:37:35 -07:00
|
|
|
|
|
|
|
|
[coverage:run]
|
|
|
|
|
branch = True
|
|
|
|
|
source =
|
|
|
|
|
flask
|
|
|
|
|
tests
|
|
|
|
|
|
|
|
|
|
[coverage:paths]
|
|
|
|
|
source =
|
2020-04-03 17:23:21 -07:00
|
|
|
src
|
|
|
|
|
*/site-packages
|
2019-05-31 13:38:39 -04:00
|
|
|
|
|
|
|
|
[flake8]
|
|
|
|
|
# B = bugbear
|
|
|
|
|
# E = pycodestyle errors
|
|
|
|
|
# F = flake8 pyflakes
|
|
|
|
|
# W = pycodestyle warnings
|
|
|
|
|
# B9 = bugbear opinions
|
2020-04-04 09:43:06 -07:00
|
|
|
# ISC = implicit-str-concat
|
|
|
|
|
select = B, E, F, W, B9, ISC
|
2019-05-31 13:38:39 -04: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-04 09:43:06 -07:00
|
|
|
# __init__ module exports names
|
|
|
|
|
src/flask/__init__.py: F401
|