-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.cfg
More file actions
93 lines (78 loc) · 1.65 KB
/
Copy pathsetup.cfg
File metadata and controls
93 lines (78 loc) · 1.65 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
[bumpversion]
current_version = 0.1.1
commit = False
tag = False
[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:tamarco/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
[bumpversion:file:docs/conf.py]
search = version = '{current_version}'
replace = version = '{new_version}'
[bumpversion:file:sonar-project.properties]
search = sonar.projectVersion={current_version}
replace = sonar.projectVersion={new_version}
[bdist_wheel]
universal = 1
[flake8]
exclude =
.git,
.tox,
dist,
.pyenv-python3,
virtualenv,
venv,
__pycache__,
env,
docs,
contrib,
pycharm,
reports,
tamarco/tools/project/project_template/*,
setup.py
max-complexity = 10
statistics = True
show-source = True
max-line-length = 120
count = True
import-order-style = pycharm
application-import-names = tamarco,tests
[pep8]
exclude = virtualenv,docs,env,pycharm,dist
max-line-length = 120
[tool:pytest]
testpaths = tests
python_files = *.py
norecursedirs = virtualenv reports docs requirements env pycharm docs examples dist project_template
addopts = --junitxml=./reports/junit.xml
--verbose
--capture=no
--ignore=setup.py
[coverage:run]
branch = True
omit = */virtualenv/*
*/env/*
*/venv/*
*docs*
*examples*
*/pycharm/*
*/tests/*
*shared_fixtures*
parallel = True
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if self\.debug
raise AssertionError
raise NotImplementedError
raise NotImplemented
if 0:
if __name__ == .__main__.:
ignore_errors = True
[coverage:xml]
output = reports/coverage.xml
[coverage:html]
directory = reports/coverage_html