forked from bihealth/snappy-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
87 lines (72 loc) · 1.86 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
74
75
76
77
78
79
80
81
82
83
84
85
86
# Package Building ----------------------------------------------------------
[bdist_wheel]
universal = 1
[wheel]
universal = 1
# Package Versioning with Versioneer ----------------------------------------
[versioneer]
VCS = git
style = pep440
versionfile_source = snappy_pipeline/_version.py
versionfile_build = snappy_pipeline/_version.py
tag_prefix = v
parentdir_prefix = snappy_pipeline-
# Style Checking and Linting ------------------------------------------------
[isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
ensure_newline_before_comments = True
line_length = 100
[flake8]
exclude =
docs
tests
.*.py
.snakemake.*.wrapper.py
splitMNPsAndComplex.py
wrapper.py
snappy_pipeline/__init__.py
versioneer.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
docs/conf.py: ALL
application_import_names = snappy_pipeline
import-order-style = google
[pylint]
max-line-length = 100
[pycodestyle]
max_line_length = 100
[pylama:pycodestyle]
max_line_length = 100
# Configuration for py.test -------------------------------------------------
[tool:pytest]
addopts = --cov=snappy_pipeline --cov-report=xml
norecursedirs =
docs
*.egg-info
.git
testpaths = tests
filterwarnings =
error
# Code Coverage -------------------------------------------------------------
[coverage:run]
omit =
snappy_pipeline/_version.py
# The wrappers are copied before execution
snappy_wrappers/wrappers/*/wrapper.py
relative_files = True
[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__':