diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fe1cbfb..a56d233 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,7 +20,7 @@ jobs: python -m pip install -U pip - name: Install pre-commit run: |- - python -m pip install pre-commit types-docutils + python -m pip install 'pre-commit<4.0.0' types-docutils - name: Run Pre-Commit run: |- pre-commit run --all-files diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6ecb31c..0934cde 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,8 @@ # SPDX-License-Identifier: CC0-1.0 default_install_hook_types: [commit-msg, pre-commit] -default_stages: [commit, merge-commit] +default_stages: [pre-commit, pre-merge-commit] +minimum_pre_commit_version: 3.2.0 repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0