|
|
|
@ -1,7 +1,7 @@ |
|
|
|
# See https://pre-commit.com for more information |
|
|
|
# See https://pre-commit.com/hooks.html for more hooks |
|
|
|
repos: |
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks |
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks |
|
|
|
rev: v6.0.0 |
|
|
|
hooks: |
|
|
|
- id: check-added-large-files |
|
|
|
@ -11,10 +11,19 @@ repos: |
|
|
|
- --unsafe |
|
|
|
- id: end-of-file-fixer |
|
|
|
- id: trailing-whitespace |
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit |
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit |
|
|
|
rev: v0.14.3 |
|
|
|
hooks: |
|
|
|
- id: ruff |
|
|
|
args: |
|
|
|
- --fix |
|
|
|
- id: ruff-format |
|
|
|
- repo: local |
|
|
|
hooks: |
|
|
|
- id: local-script |
|
|
|
language: unsupported |
|
|
|
name: local script |
|
|
|
entry: uv run ./scripts/docs.py add-permalinks-pages |
|
|
|
args: |
|
|
|
- --update-existing |
|
|
|
files: ^docs/en/docs/.*\.md$ |
|
|
|
|