forked from lyft/python-blessclient
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
23 lines (20 loc) · 684 Bytes
/
setup.cfg
File metadata and controls
23 lines (20 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Project specific configuration used by the following tools:
# - pytest
# - flake8
[tool:pytest]
addopts=
--junitxml build/unit.xml
--cov blessclient
--cov-report xml
[flake8]
# The jenkins violations plugin can read the pylint format.
format=pylint
# Measure cyclomatic complexity.
# http://en.wikipedia.org/wiki/Cyclomatic_complexity#Limiting_complexity_during_development
# The current value is set so that the build doesn't fail. At least we won't
# make the software more complex.
# We should target 10. Likewise, 90 for line length.
max-complexity = 23
max-line-length = 126
exclude = .git,__pycache__,venv,tests/
ignore = E402, E124, F401, F811, F841, W503