-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.cfg
48 lines (38 loc) · 1.19 KB
/
setup.cfg
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
44
45
46
47
48
[bdist_wheel]
universal = True
[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.
max-complexity = 25
max-line-length = 120
# .svn,CVS,.bzr,.hg,.git,__pycache__:
# default excludes
# venv/:
# third party libraries are all stored in venv - so we don't want to
# check them for style issues.
# get-pip.py:
# a public file coming directly from upstream.
# salt/var/cache/:
# used by salt to cache all module files when run in non-root mode. This
# includes upstream modules that are not complient with coding style.
exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,venv,get-pip.py,salt/var/cache/
# flake8-tidy-imports rules
banned-modules =
python-s3file = Use `boto`
[pep8]
max-line-length = 120
[coverage:report]
# should target 95% of code coverage.
fail_under = 20
[coverage:html]
directory = build/coverage/
title = "omnibot Coverage"
[coverage:xml]
output = build/coverage.xml
[tool:pytest]
log_cli = True
log_cli_level = DEBUG