Skip to content

Commit

Permalink
Update pre-commit-hooks to v5.0 and add checks (#7259)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-yz-liu authored Oct 7, 2024
1 parent 0b91f84 commit 24b099e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-illegal-windows-names
- id: check-json
exclude: |
(?x)^(
spec/fixtures/files/.*
)$
- id: check-merge-conflict
- id: check-yaml
exclude: |
(?x)^(
Expand Down
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
- Fix flaky `check_repo_permissions` test (#7223)
- Move model validation error messages to respective localization files (#7229)
- Replace time-warp gem with newer, maintained timecop gem (#7234)
- Update pre-commit-hooks to v5.0 and add checks `check-illegal-windows-names`, `check-json`, and `check-merge-conflict` (#7259)

## [v2.5.2]

Expand Down

0 comments on commit 24b099e

Please sign in to comment.