summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: f5cafd89033446bf37a3923d2226ffbfa59f2cea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[metadata]
license_file = LICENSE.rst
long_description_content_type = text/x-rst

[tool:pytest]
testpaths = tests
filterwarnings =
    error

[coverage:run]
branch = true
parallel = true
source =
    markupsafe
    tests

[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
ignore =
    # slice notation whitespace, invalid
    E203
    # 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
# _compat names and imports will always look bad, ignore warnings
exclude =
    src/markupsafe/_compat.py