diff options
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -14,3 +14,19 @@ 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 |