[metadata]
license_file = LICENSE.rst
long_description_content_type = text/x-rst
[bdist_wheel]
universal = true
[tool:pytest]
testpaths = tests
norecursedirs = tests/hypothesis
filterwarnings =
error
ignore::requests.packages.urllib3.exceptions.InsecureRequestWarning
; warning about collections.abc fixed in watchdog master
ignore::DeprecationWarning:watchdog.utils.bricks:175
; DeprecationWarnings from Werkzeug
ignore:.* version 1\.0:DeprecationWarning
ignore:The default 'Secure:UserWarning
[coverage:run]
branch = True
source =
werkzeug
tests
[coverage:paths]
source =
src/werkzeug
.tox/*/lib/python*/site-packages/werkzeug
.tox/*/site-packages/werkzeug
[flake8]
# B = bugbear
# E = pycodestyle errors
# F = flake8 pyflakes
# W = pycodestyle warnings
# B9 = bugbear opinions
select = B, E, F, W, B9
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 =
# __init__ modules export names
**/__init__.py: F401
# LocalProxy assigns lambdas
src/werkzeug/local.py: E731