-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
117 lines (99 loc) · 2.21 KB
/
setup.cfg
File metadata and controls
117 lines (99 loc) · 2.21 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[pytest]
mccabe-complexity=7
[coverage:run]
branch = True
cover_pylib = False
omit =
*/.__stash__/
*/.venv/*
*/.cov/*
include = *.py
source = src/
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if __name__==.__main__.:
if __debug__
noqa
raise NotImplementedError
omit =
tests/*
ignore_errors = True
skip_covered = True
show_missing = False
[coverage:html]
directory = .cov
#py.test --cov=src tests/ --cov-report=html:.cov --cov-report=term:skip-covered
[flake8]
exclude =
.__stash__,
.git,
__pycache__,
docs/source/conf.py,
old,
build,
dist,
.svn,
.bzr,
.hg,
.tox,
*.pyc,
*.pyo,
.cov,
.cache,
*.egg-info,
.idea
format = default
#format=pylint
#format=%(path)s::%(row)d,%(col)d::%(code)s::%(text)s
hang-closing = True
max-complexity = 7
count = True
max-line-length = 79
show-source = True
statistics = False
jobs = 4
#quiet = 1
doctests = True
ignore =
# F812: list comprehension redefines ...
#F812,
# H101: Use TODO(NAME)
H101,
# H202: assertRaises Exception too broad
#H202,
# H233: Python 3.x incompatible use of print operator
#H233,
# H301: one import per line
#H301,
# H306: imports not in alphabetical order (time, os)
#H306,
# H401: docstring should not start with a space
#H401,
# H403: multi line docstrings should end on a new line
#H403,
# H404: multi line docstring should start without a leading new line
#H404,
## H405: multi line docstring summary not separated with an empty line
#H405,
# H501: Do not use self.__dict__ for string formatting
H501
builtins =
_,
_LE,
_LW
# flake8-quotes
inline-quotes = "
# flake8-import-order
# import-order-style controls what style the plugin follows (cryptography is the default):
# cryptography - see an example
# google - style described in Google Style Guidelines, see an example
# smarkets - style as google only with \(import\) statements before \(from X import ...\) statements, see an example
# pep8 - style that only enforces groups without enforcing the order within the groups
#include-in-doctest =
# dir/subdir/file.py,
# dir/other/file.py
#exclude-in-doctest =
# dir/subdir/file.py,
# dir/other/file.py