Skip to content

Commit

Permalink
pre-commit: Update pre-commit repo revisions
Browse files Browse the repository at this point in the history
Update pre-commit dependencies to the latest revisions to fix errors
when using pre-commit with newer versions of Python (e.g. 3.12).

Signed-off-by: Chris Wilson <chris@cgnd.dev>
  • Loading branch information
cdwilson committed Apr 30, 2024
1 parent ec4f4c7 commit 1e6062e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

container:
image: kiwicom/pre-commit:3.0.4
image: kiwicom/pre-commit:3.6.0

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
exclude: '^patches/'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.6.0
hooks:
- id: check-executables-have-shebangs
- id: check-json
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.10
rev: v1.5.5
hooks:
- id: forbid-crlf

0 comments on commit 1e6062e

Please sign in to comment.