Skip to content

Commit

Permalink
ci: Limit pre-commit to <4.0.0 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ewuerger committed Oct 8, 2024
1 parent 0d4c786 commit b916d22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b916d22

Please sign in to comment.