mirror of
https://github.com/astral-sh/ruff.git
synced 2026-10-28 10:45:37 +08:00
Update prek dependencies (#29773)
This commit is contained in:
1 parent
9f6627fa45
commit
832ba4c4e2
1 file changed
+6
-6
@@ -38,7 +38,7 @@ repos:
|
||||
priority: 0
|
||||
|
||||
- repo: https://github.com/crate-ci/typos
|
||||
rev: 512fc24f32f44ab01972217aaaf3dc86ec234d53 # frozen: v1.50.2
|
||||
rev: 00f422f3b19c57bc6338715ebfe3316d38768461 # frozen: v1.50.3
|
||||
hooks:
|
||||
- id: typos
|
||||
priority: 0
|
||||
@@ -53,7 +53,7 @@ repos:
|
||||
priority: 0
|
||||
# Prettier
|
||||
- repo: https://github.com/rbubley/mirrors-prettier
|
||||
rev: 5c9b20b95f2bc1c4d3d929b83a96d5c96a29e752 # frozen: v3.9.8
|
||||
rev: ef4a397f916211b4a39ccf9d3d9cbb6562157251 # frozen: v3.9.9
|
||||
hooks:
|
||||
- id: prettier
|
||||
types: [yaml]
|
||||
@@ -68,7 +68,7 @@ repos:
|
||||
priority: 0
|
||||
|
||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||
rev: 12e63946db2c5cfcc9030fac21c3883ba88c6ed8 # frozen: 0.38.0
|
||||
rev: 0494aa7fa1314e98913a41227d8f0a515b2c1049 # frozen: 0.38.2
|
||||
hooks:
|
||||
- id: check-github-workflows
|
||||
# The bundled schema predates GitHub's cache-mode feature. Use a pinned
|
||||
@@ -124,7 +124,7 @@ repos:
|
||||
args: [--default-index=https://pypi.org/simple, --check, --refresh]
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: 38bfb07c0c64c304f47eb52090f8288150c77730 # frozen: v0.17.1
|
||||
rev: 25bcf95026b96e2dd3c0aec3090c3d6ef6ca2e6c # frozen: v0.17.3
|
||||
hooks:
|
||||
- id: ruff-format
|
||||
types_or: [python, pyi, jupyter]
|
||||
@@ -133,7 +133,7 @@ repos:
|
||||
|
||||
# Priority 1: Second-pass fixers (e.g., markdownlint-fix runs after mdformat).
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: 38bfb07c0c64c304f47eb52090f8288150c77730 # frozen: v0.17.1
|
||||
rev: 25bcf95026b96e2dd3c0aec3090c3d6ef6ca2e6c # frozen: v0.17.3
|
||||
hooks:
|
||||
- id: ruff-check
|
||||
args: [--fix, --exit-non-zero-on-fix]
|
||||
@@ -156,7 +156,7 @@ repos:
|
||||
|
||||
# Priority 2: ruffen-docs runs after markdownlint-fix (both modify markdown).
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: 38bfb07c0c64c304f47eb52090f8288150c77730 # frozen: v0.17.1
|
||||
rev: 25bcf95026b96e2dd3c0aec3090c3d6ef6ca2e6c # frozen: v0.17.3
|
||||
hooks:
|
||||
- id: ruff-format
|
||||
name: mdtest format
|
||||
|
||||
Reference in new issue
Block a user