Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Bump pre-commit black version to fix pre-commit (#89)
Browse files Browse the repository at this point in the history
* Bump pre-commit black version to fix pre-commit

* Fix whitespace
  • Loading branch information
dstansby authored Mar 29, 2022
1 parent 0acf4d2 commit d9e7627
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repos:
hooks:
- id: flake8
- repo: https://github.com/psf/black
rev: 22.1.0
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ commit = True
tag = True
tag_name = {new_version}
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<rc>\d+))?
serialize =
serialize =
{major}.{minor}.{patch}-{release}{rc}
{major}.{minor}.{patch}

[bumpversion:part:release]
optional_value = prod
first_value = rc
values =
values =
rc
prod

Expand All @@ -31,7 +31,7 @@ max-line-length = 79
exclude = __init__.py,build,.eggs

[check-manifest]
ignore =
ignore =
resources/*
.pre-commit-config.yaml
tox.ini

0 comments on commit d9e7627

Please sign in to comment.