summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: 6614658eb65627760f45b015e6d5e1e55867a582 (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
[metadata]
license_file = LICENSE.rst

[bdist_wheel]
universal = 1

[tool:pytest]
testpaths = tests

[coverage:run]
branch = True
source =
    itsdangerous
    tests

[coverage:paths]
source =
    src/itsdangerous
    .tox/*/lib/python*/site-packages/itsdangerous
    .tox/*/site-packages/itsdangerous

[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
# init is used to export public API, ignore import warnings
exclude = src/itsdangerous/__init__.py