Skip to content

Commit

Permalink
More black linting (#2622)
Browse files Browse the repository at this point in the history
* Add black linting to setup.py, have bumpversion search for the right thing

* Add newsfragment
  • Loading branch information
kclowes authored and Paul Robinson committed Sep 8, 2022
1 parent 6158844 commit a585558
Show file tree
Hide file tree
Showing 5 changed files with 128 additions and 126 deletions.
8 changes: 4 additions & 4 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ current_version = 6.0.0-beta.4
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<stage>[^.]*)\.(?P<devnum>\d+))?
serialize =
serialize =
{major}.{minor}.{patch}-{stage}.{devnum}
{major}.{minor}.{patch}

[bumpversion:part:stage]
optional_value = stable
first_value = stable
values =
values =
alpha
beta
stable

[bumpversion:part:devnum]

[bumpversion:file:setup.py]
search = version='{current_version}',
replace = version='{new_version}',
search = version="{current_version}",
replace = version="{new_version}",
Loading

0 comments on commit a585558

Please sign in to comment.