-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.cfg
50 lines (42 loc) · 800 Bytes
/
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
[bumpversion]
current_version = 0.2.9
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+).(?P<patch>\d+)(\-(?P<release>[a-z]+))?
serialize =
{major}.{minor}.{patch}-{release}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = gamma
first_value = alpha
values =
alpha
beta
gamma
[bumpversion:file:setup.py]
search = VERSION = "{current_version}"
replace = VERSION = "{new_version}"
[bumpversion:file:jsmetrics/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[metadata]
license_files = LICENSE
[aliases]
test = pytest
[flake8]
max-line-length = 79
exclude =
.git,
docs/conf.py,
build,
.eggs,
jsmetrics/__init__.py,
ignore =
E203
E203
E501
W503
[tool:pytest]
addopts = --verbose
[isort]
profile = black