Skip to content

Commit

Permalink
Merge pull request #565 from felixvd/patch-1
Browse files Browse the repository at this point in the history
Update pre-commit hook in README.rst
  • Loading branch information
akaihola authored Mar 26, 2024
2 parents 2fcce4f + 1599275 commit 26df2a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Removed

Fixed
-----
- Bump-version pre-commit hook pattern: ``rev: vX.Y.Z`` instead of ``X.Y.Z``.


2.0.0_ - 2024-03-13
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ do the following:
.. code-block:: yaml
- repo: https://github.com/akaihola/darker
rev: 2.0.0
rev: v2.0.0
hooks:
- id: darker
Expand All @@ -658,7 +658,7 @@ other reformatter/linter tools you use to known compatible versions, for example
.. code-block:: yaml
- repo: https://github.com/akaihola/darker
rev: 2.0.0
rev: v2.0.0
hooks:
- id: darker
args:
Expand Down Expand Up @@ -689,7 +689,7 @@ Note the inclusion of the isort Python package under ``additional_dependencies``
.. code-block:: yaml
- repo: https://github.com/akaihola/darker
rev: 2.0.0
rev: v2.0.0
hooks:
- id: darker
args: [--isort]
Expand Down
2 changes: 1 addition & 1 deletion release_tools/bump-version-patterns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
^\.\. _next-milestone: https://github\.com/akaihola/darker/milestone/{any_milestone->next_milestone}
- |-
^ (?: )?rev: {old_version->new_version}
^ (?: )?rev: v{old_version->new_version}
- |-
^\.\. \|next-milestone\| image:: https://img\.shields\.io/github/milestones/progress/akaihola/darker/{any_milestone->next_milestone}
Expand Down

0 comments on commit 26df2a1

Please sign in to comment.