blob: 08cecbb863fda3aa2ad1015c8dff502d854339fe [file] [log] [blame]
[metadata]
license_file = LICENSE.rst
[tool:pytest]
testpaths = tests
[coverage:run]
branch = True
source =
markupsafe
[coverage:paths]
source =
src/markupsafe
.tox/*/lib/python*/site-packages/markupsafe
.tox/*/site-packages/markupsafe
[flake8]
# B = bugbear
# E = pycodestyle errors
# F = flake8 pyflakes
# W = pycodestyle warnings
# B9 = bugbear opinions
select = B, E, F, W, B9
# E203 = slice notation whitespace, invalid
# E501 = line length, handled by bugbear B950
# W503 = bin op line break, invalid
ignore = E203, E501, W503
# up to 88 allowed by bugbear B950
max-line-length = 80
# _compat names and imports will always look bad, ignore warnings
exclude = src/markupsafe/_compat.py