Skip to content

Commit

Permalink
Add autoupdate for pre-commit hook versions (#604)
Browse files Browse the repository at this point in the history
* update hook versions

* autoupdate pre-commit

* update release-notes.rst
  • Loading branch information
cyschneck committed Apr 24, 2024
1 parent 549dd3b commit ada6607
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
ci:
autofix_prs: false
autoupdate_schedule: monthly

repos:
- repo: https://github.com/google/yapf # To format the code to conform YAPF
rev: v0.33.0
rev: v0.40.2
hooks:
- id: yapf
args: ['--in-place', '--recursive', '--style', 'google']

- repo: https://github.com/myint/docformatter # To format the doc strings to conform PEP257
rev: v1.4
rev: v1.7.5
hooks:
- id: docformatter
args: [--in-place]
Expand All @@ -19,7 +23,7 @@ repos:
- tomli

- repo: https://github.com/pre-commit/pre-commit-hooks # Some common pre-commit hooks
rev: v3.4.0
rev: v4.6.0
hooks:
- id: check-yaml # Checks the syntax of .yaml files.
args: [--allow-multiple-documents]
Expand Down
7 changes: 7 additions & 0 deletions docs/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
Release Notes
=============

vYYYY.MM.## (unreleased)
------------------------
This release...

Internal Changes
^^^^^^^^^^^^^^^^
* Update and setup autoupdate for pre-commit hooks by `Cora Schneck`_ in (:pr:`604`)

v2024.04.0 (April 23, 2024)
---------------------------
Expand Down

0 comments on commit ada6607

Please sign in to comment.