-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
71 lines (56 loc) · 1.64 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
[bumpversion]
current_version = 0.1.12
commit = True
tag = True
message = {current_version} → {new_version}
serialize = {major}.{minor}.{patch}
[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"
[bumpversion:file:src/elaspic2_rest_api/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:.gitlab/conda/meta.yaml]
search = version: {current_version}
replace = version: {new_version}
[bumpversion:file:.gitlab/docker/Dockerfile]
search = PACKAGE_VERSION="{current_version}"
replace = PACKAGE_VERSION="{new_version}"
[bumpversion:file:.gitlab-ci.yml]
search = PACKAGE_VERSION: "{current_version}"
replace = PACKAGE_VERSION: "{new_version}"
[bumpversion:file:.cookiecutter.yaml]
search = version: "{current_version}"
replace = version: "{new_version}"
[bumpversion:file:README.md]
serialize = v{major}.{minor}.{patch}
[bdist_wheel]
universal = true
[aliases]
test = pytest
[tool:pytest]
log_cli = true
junit_family = xunit2
addopts = -x --ignore=setup.py --ignore=docs/ --ignore=build/ --ignore=.conda/
[coverage:run]
omit = *.so
[coverage:paths]
source =
elaspic2_rest_api
*/site-packages/elaspic2_rest_api
[flake8]
max_line_length = 100
ignore = D100,D101,D102,D103,D105,D301,E402,W503,E124,E203,E211
exclude = docs,__init__.py,build,.gitlab,.conda
[isort]
line_length = 100
skip = env,docs,__init__.py,setup.py,.gitlab,.conda
default_section = THIRDPARTY
known_first_party = elaspic2_rest_api
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
[mypy]
ignore_missing_imports = true
warn_unused_ignores = true