forked from arthurdejong/python-stdnum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
47 lines (40 loc) · 995 Bytes
/
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
[metadata]
license_file = COPYING
[sdist]
owner=root
group=root
[bdist_wheel]
universal=1
[nosetests]
with-doctest=true
doctest-extension=doctest
doctest-options=+IGNORE_EXCEPTION_DETAIL,+NORMALIZE_WHITESPACE
with-coverage=true
cover-branches=true
cover-package=stdnum
cover-inclusive=true
cover-erase=true
cover-html=true
cover-html-dir=coverage
cover-min-percentage=100
[coverage:report]
fail_under=100
show_missing=true
[build_sphinx]
all_files = 1
[flake8]
ignore =
D205,D209,D400 # our docstrings are multi-line blobs
D302 # We don't care about Unicode docstrings
E501 # ignore long lines
E731 # we occasionally use lambda
F403,F405 # we use * imports
Q001 # we use '''...''' multi-line strings
Q003 # don't force "" strings to avoid escaping quotes
T001 # we use print statements in the update scripts
W504 # we put the binary operator on the preceding line
max-complexity = 15
max-line-length = 120
[isort]
lines_after_imports = 2
multi_line_output = 4