diff --git a/.github/workflows/pre-ci.yml b/.github/workflows/pre-ci.yml index af2b1871c..6c5506d0f 100644 --- a/.github/workflows/pre-ci.yml +++ b/.github/workflows/pre-ci.yml @@ -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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 28fc915c8..cb18d471c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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"] diff --git a/pre-commit-requirements.txt b/pre-commit-requirements.txt index 5cac84d3c..49edb628c 100644 --- a/pre-commit-requirements.txt +++ b/pre-commit-requirements.txt @@ -1 +1 @@ -pre-commit==3.2.2 \ No newline at end of file +pre-commit==4.0.1 \ No newline at end of file