-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pre-commit hooks versions (#7979)
- Loading branch information
1 parent
0255422
commit 06aafa1
Showing
1 changed file
with
30 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
fail_fast: true | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-ast # checks Python syntax | ||
- id: check-json # checks JSON syntax | ||
- id: check-merge-conflict # checks for no merge conflict strings | ||
- id: check-shebang-scripts-are-executable # checks all shell scripts have executable permissions | ||
- id: check-toml # checks TOML syntax | ||
- id: check-yaml # checks YAML syntax | ||
- id: end-of-file-fixer # checks there is a newline at the end of the file | ||
- id: mixed-line-ending # normalizes line endings | ||
- id: no-commit-to-branch # prevents committing to main | ||
- id: trailing-whitespace # trims trailing whitespace | ||
args: [--markdown-linebreak-ext=md] | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: check-ast # checks Python syntax | ||
- id: check-json # checks JSON syntax | ||
- id: check-merge-conflict # checks for no merge conflict strings | ||
- id: check-shebang-scripts-are-executable # checks all shell scripts have executable permissions | ||
- id: check-toml # checks TOML syntax | ||
- id: check-yaml # checks YAML syntax | ||
- id: end-of-file-fixer # checks there is a newline at the end of the file | ||
- id: mixed-line-ending # normalizes line endings | ||
- id: no-commit-to-branch # prevents committing to main | ||
- id: trailing-whitespace # trims trailing whitespace | ||
args: [--markdown-linebreak-ext=md] | ||
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.3.0 | ||
hooks: | ||
- id: ruff | ||
- id: ruff-format | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.5.0 | ||
hooks: | ||
- id: ruff | ||
- id: ruff-format | ||
|
||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.5 | ||
hooks: | ||
- id: codespell | ||
additional_dependencies: | ||
- tomli | ||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.3.0 | ||
hooks: | ||
- id: codespell | ||
additional_dependencies: | ||
- tomli | ||
|
||
- repo: https://github.com/rhysd/actionlint | ||
rev: v1.6.25 | ||
hooks: | ||
- id: actionlint-docker | ||
args: ["-ignore", "SC2102"] | ||
- repo: https://github.com/rhysd/actionlint | ||
rev: v1.7.1 | ||
hooks: | ||
- id: actionlint-docker | ||
args: ["-ignore", "SC2102"] |