Skip to content

Commit ba054b8

Browse files
committed
build: update bump2version cfg
Now uses Final[str] typing in version.py. Also removes setup.py which was removed from the project (will use Poetry for packaging from now on). The same for docs/doc/archive.md since the main page is now there
1 parent 0bb3589 commit ba054b8

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.bumpversion.cfg

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,17 @@
22
current_version = 1.17.2
33

44
[bumpversion:file:src/zxbc/version.py]
5-
search = VERSION = "{current_version}"
6-
replace = VERSION = "{new_version}"
5+
search = VERSION: Final[str] = "{current_version}"
6+
replace = VERSION: Final[str] = "{new_version}"
77

88
[bumpversion:file:src/zxbasm/version.py]
99
search = VERSION = "{current_version}"
1010
replace = VERSION = "{new_version}"
1111

12-
[bumpversion:file:setup.py]
13-
search = "version": "{current_version}"
14-
replace = "version": "{new_version}"
15-
1612
[bumpversion:file:pyproject.toml]
1713
search = version = "{current_version}"
1814
replace = version = "{new_version}"
1915

20-
[bumpversion:file:docs/archive.md]
16+
[bumpversion:file:docs/doc/archive.md]
2117
search = {current_version}
2218
replace = {new_version}

0 commit comments

Comments
 (0)