Browse Source
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>pull/14402/head
committed by
GitHub
5 changed files with 37 additions and 13 deletions
@ -1,20 +1,29 @@ |
|||||
# See https://pre-commit.com for more information |
# See https://pre-commit.com for more information |
||||
# See https://pre-commit.com/hooks.html for more hooks |
# See https://pre-commit.com/hooks.html for more hooks |
||||
repos: |
repos: |
||||
- repo: https://github.com/pre-commit/pre-commit-hooks |
- repo: https://github.com/pre-commit/pre-commit-hooks |
||||
rev: v6.0.0 |
rev: v6.0.0 |
||||
hooks: |
hooks: |
||||
- id: check-added-large-files |
- id: check-added-large-files |
||||
- id: check-toml |
- id: check-toml |
||||
- id: check-yaml |
- id: check-yaml |
||||
args: |
args: |
||||
- --unsafe |
- --unsafe |
||||
- id: end-of-file-fixer |
- id: end-of-file-fixer |
||||
- id: trailing-whitespace |
- 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 |
rev: v0.14.3 |
||||
hooks: |
hooks: |
||||
- id: ruff |
- id: ruff |
||||
args: |
args: |
||||
- --fix |
- --fix |
||||
- id: ruff-format |
- 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$ |
||||
|
|||||
@ -1,6 +1,6 @@ |
|||||
-e .[all] |
-e .[all] |
||||
-r requirements-tests.txt |
-r requirements-tests.txt |
||||
-r requirements-docs.txt |
-r requirements-docs.txt |
||||
pre-commit >=2.17.0,<5.0.0 |
pre-commit >=4.5.0,<5.0.0 |
||||
# For generating screenshots |
# For generating screenshots |
||||
playwright |
playwright |
||||
|
|||||
Loading…
Reference in new issue