Skip to content

Commit

Permalink
adapt to the new ruff world
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed Nov 5, 2023
1 parent 3635743 commit 41928d8
Show file tree
Hide file tree
Showing 5 changed files with 359 additions and 374 deletions.
18 changes: 12 additions & 6 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
[bumpversion]
current_version = 1.0.0-alpha.27
current_version = 1.0.0-alpha.32
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<prerelease>[a-zA-Z]+))?(\.(?P<release>\d+))?
serialize =
serialize =
{major}.{minor}.{patch}-{prerelease}.{release}
{major}.{minor}.{patch}

[bumpversion:part:prerelease]
optional_value = gamma
values =
values =
alpha
beta
gamma

[bumpversion:part:release]
first_value = 1
values =
values =
1
2
3
Expand Down Expand Up @@ -47,14 +47,20 @@ values =
28
29
30
31
32
33
34
35
36

[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"

[bumpversion:file:chatlab/_version.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

[bumpversion:file:CHANGELOG.md]
search = ## [{current_version}]
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.0-alpha.27]
## [1.0.0-alpha.32]

### Added

Expand Down
2 changes: 1 addition & 1 deletion chatlab/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.0-alpha.27"
__version__ = "1.0.0-alpha.32"
Loading

0 comments on commit 41928d8

Please sign in to comment.