Commit 09924ad 1 parent 7bb7077 commit 09924ad Copy full SHA for 09924ad
File tree 3 files changed +37
-11
lines changed
3 files changed +37
-11
lines changed Original file line number Diff line number Diff line change
1
+ [bumpversion]
2
+ current_version = 2.0.8-dev
3
+ tag = False
4
+ commit = True
5
+ message = bump version: {current_version} -> {new_version}
6
+ parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)([-](?P<release>(dev|stable)+)(?P<build>\d*))?
7
+ serialize =
8
+ {major}.{minor}.{patch}-{release}{build}
9
+ {major}.{minor}.{patch}-{release}
10
+ {major}.{minor}.{patch}
11
+
12
+ [bumpversion:part:release]
13
+ optional_value = stable
14
+ values =
15
+ dev
16
+ stable
17
+
18
+ [bumpversion:file:setup.cfg]
19
+ search = version = {current_version}
20
+ replace = version = {new_version}
21
+
22
+ [bumpversion:file:docs/source/conf.py]
23
+ search = release = " {current_version}"
24
+ replace = release = " {new_version}"
Original file line number Diff line number Diff line change 1
1
repos :
2
- - repo : https://github.com/pre-commit/pre-commit-hooks
2
+ - repo : https://github.com/pre-commit/pre-commit-hooks
3
3
rev : v4.3.0
4
4
hooks :
5
- - id : trailing-whitespace
6
- - id : end-of-file-fixer
5
+ - id : trailing-whitespace
6
+ exclude : .bumpversion.cfg
7
+ - id : end-of-file-fixer
7
8
8
- - repo : https://github.com/asottile/reorder_python_imports
9
+ - repo : https://github.com/asottile/reorder_python_imports
9
10
rev : v3.8.2
10
11
hooks :
11
- - id : reorder-python-imports
12
+ - id : reorder-python-imports
12
13
args : ["--py38-plus"]
13
14
14
- - repo : https://github.com/asottile/add-trailing-comma
15
+ - repo : https://github.com/asottile/add-trailing-comma
15
16
rev : v2.2.3
16
17
hooks :
17
- - id : add-trailing-comma
18
+ - id : add-trailing-comma
18
19
19
- - repo : https://github.com/asottile/pyupgrade
20
+ - repo : https://github.com/asottile/pyupgrade
20
21
rev : v2.37.3
21
22
hooks :
22
- - id : pyupgrade
23
+ - id : pyupgrade
23
24
24
- - repo : https://github.com/psf/black
25
+ - repo : https://github.com/psf/black
25
26
rev : 22.8.0
26
27
hooks :
27
- - id : black
28
+ - id : black
28
29
args : [--safe]
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ package_dir =
45
45
46
46
[options.extras_require]
47
47
dev =
48
+ bump2version ==1.0.1
48
49
mypy ==0.971
49
50
parameterized ==0.8.1
50
51
pre-commit ==2.20.0
You can’t perform that action at this time.
0 commit comments