-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.cfg
108 lines (91 loc) · 2.33 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[bumpversion]
current_version = 0.6.2
commit = True
tag = True
tag_name = v{new_version}
parse = (?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(\-(?P<release>.*))?
serialize =
{major}.{minor}.{patch}-{release}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = release
values =
dev
release
[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"
[bumpversion:file:README.rst]
search = v{current_version}.
replace = v{new_version}.
[bumpversion:file:CHANGELOG.rst]
search =
`Unreleased <http://github.com/plstcharles/thelper/tree/master>`_ (latest)
----------------------------------------------------------------------------------
replace =
`Unreleased <http://github.com/plstcharles/thelper/tree/master>`_ (latest)
----------------------------------------------------------------------------------
.. **INSERT APPLIED CHANGES HERE**
`{new_version} <http://github.com/plstcharles/thelper/tree/v{new_version}>`_ ({now:%%Y/%%m/%%d})
----------------------------------------------------------------------------------
[bumpversion:file:Dockerfile]
search = LABEL version="{current_version}"
replace = LABEL version="{new_version}"
[bumpversion:file:docs/src/conf.py]
search = version = release = '{current_version}'
replace = version = release = '{new_version}'
[bumpversion:file:thelper/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:ci/meta.yaml]
search = version = "{current_version}"
replace = version = "{new_version}"
[flake8]
max-line-length = 140
exclude = */migrations/*
ignore = E265,W504
[tool:pytest]
testpaths = tests
norecursedirs =
migrations
python_files =
test_*.py
*_test.py
tests.py
addopts =
-ra
--strict
--doctest-modules
--doctest-glob=\*.rst
--tb=short
[isort]
force_single_line = false
line_length = 140
known_first_party = thelper
default_section = THIRDPARTY
forced_separate = test_thelper
skip = migrations
[check-manifest]
ignore =
docs/build
docs/build/*
docs/src/modules.rst
docs/src/thelper.*.rst
docs/src/thelper.rst
[coverage:paths]
source =
thelper
*/site-packages/thelper
[coverage:run]
branch = true
source =
thelper
tests
parallel = true
[coverage:report]
show_missing = true
precision = 2
omit = *migrations*
exclude_lines =
if __name__ == .__main__.:
pragma: no cover