summaryrefslogtreecommitdiffhomepage
path: root/setup.cfg
blob: 44d029c496307654633c189dbff9216148a93df8 (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
[wheel]
universal = 1

[metadata]
license_file = LICENSE

[coverage:run]
omit = paramiko/_winapi.py

[flake8]
exclude = sites,.git,build,dist,demos
# NOTE: W503, E203 are concessions to black 18.0b5 and could be reinstated
# later if fixed on that end.
# NOTE: E722 seems to only have started popping up on move to flake8 3.6.0 from
# 2.4.0. Not sure why, bare excepts have been a (regrettable) thing forever...
ignore = E124,E125,E128,E261,E301,E302,E303,E402,E721,W503,E203,E722
max-line-length = 79

[tool:pytest]
# We use pytest-relaxed just for its utils at the moment, so disable it at the
# plugin level until we adapt test organization to really use it.
addopts = -p no:relaxed
# Loop on failure
looponfailroots = tests paramiko
# Ignore some warnings we cannot easily handle.
filterwarnings =
    ignore::DeprecationWarning:pkg_resources
    ignore::cryptography.utils.CryptographyDeprecationWarning