29 lines
670 B
YAML
29 lines
670 B
YAML
|
|
repos:
|
||
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
|
rev: v5.0.0
|
||
|
|
hooks:
|
||
|
|
- id: check-added-large-files
|
||
|
|
args: ["--maxkb=2000"]
|
||
|
|
- id: check-case-conflict
|
||
|
|
- id: check-illegal-windows-names
|
||
|
|
- id: check-json
|
||
|
|
- id: check-merge-conflict
|
||
|
|
- id: check-symlinks
|
||
|
|
- id: check-toml
|
||
|
|
- id: check-xml
|
||
|
|
- id: check-yaml
|
||
|
|
- id: destroyed-symlinks
|
||
|
|
- id: end-of-file-fixer
|
||
|
|
- id: trailing-whitespace
|
||
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||
|
|
rev: v0.15.0
|
||
|
|
hooks:
|
||
|
|
- id: ruff-check
|
||
|
|
args: [ --fix ]
|
||
|
|
- id: ruff-format
|
||
|
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
||
|
|
rev: 0.10.2
|
||
|
|
hooks:
|
||
|
|
- id: uv-lock
|
||
|
|
- id: uv-export
|