-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.cfg
73 lines (65 loc) · 1.81 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
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
[bdist_wheel]
universal = 1
[flake8]
exclude =
docs
tests
src
biomedsheets/version.py
max-complexity = 18
select = B,C,E,F,W,T4,B9
ignore = E203, E266, E501, W503
max-line-length = 100
per-file-ignore =
tests/*.py: E501
tests/**/*.py: E501
docs/source/conf.py ALL
**/.* ALL
application_import_names = biomedsheets
import-order-style = google
[pylint]
max-line-length = 100
[pycodestyle]
max_line_length = 100
[pylama:pycodestyle]
max_line_length = 100
[tool:pytest]
addopts = --cov=biomedsheets --cov-report=xml
testpaths = tests biomedsheets
flake8-ignore =
tests/*.py E501
tests/**/*.py E501
docs/source/conf.py ALL
**/.* ALL
filterwarnings =
# Ignore certain specific warnings. One line per warning to ignore. The
# pattern is:
#
# ignore:<WARNING_MESSAGE>:<WARNING_CATEGORY>:<MODULE>
#
# <WARNING_MESSAGE> is a regex that must match the warning message that you
# want to ignore.
#
# <WARNING_CATEGORY> is the class of the warning that you want to ignore,
# e.g. DeprecationWarning. See:
# https://docs.python.org/2/library/warnings.html#warning-categories
#
# <MODULE> is the name of the module that the warning originates from.
#
# See https://docs.python.org/3/library/warnings.html and
# https://docs.pytest.org/en/latest/warnings.html
#
ignore:^Use of \.\. or absolute path in a resource path is not allowed and will raise exceptions in a future release\.$:DeprecationWarning:pkg_resources
[coverage:run]
omit =
biomedsheets/version.py
[coverage:report]
exclude_lines =
# Re-enable standard pragma
pragma: no cover
# Ignore repr() builtin definition, mostly useful for debug code anway
def __repr__
# Ignore the __main__ entry points
if __name__ == '__main__':
[wheel]
universal = 1