Skip to content

Commit

Permalink
chore: update pre-commit to v4 (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
TeeeJay authored Dec 19, 2024
1 parent 52359f1 commit 8542c6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit/
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit
run: SKIP=trufflehog pre-commit run --all-files --verbose
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ repos:
exclude: tests|neqsim|fixtures|conftest

- repo: https://github.com/trufflesecurity/trufflehog
rev: v3.81.10
rev: v3.87.2
hooks:
- id: trufflehog
stages: ["pre-commit"]
Expand Down
2 changes: 1 addition & 1 deletion pre-commit-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pre-commit==3.2.2
pre-commit==4.0.1

0 comments on commit 8542c6b

Please sign in to comment.