mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
39 lines
No EOL
786 B
YAML
39 lines
No EOL
786 B
YAML
fail_fast: true
|
|
|
|
exclude: |
|
|
(?x)^(
|
|
.*/(snapshots)/.*|
|
|
)$
|
|
|
|
repos:
|
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
rev: v0.16
|
|
hooks:
|
|
- id: validate-pyproject
|
|
|
|
- repo: https://github.com/crate-ci/typos
|
|
rev: v1.18.2
|
|
hooks:
|
|
- id: typos
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: cargo-fmt
|
|
name: cargo fmt
|
|
entry: cargo fmt --
|
|
language: system
|
|
types: [rust]
|
|
pass_filenames: false # This makes it a lot faster
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: v3.1.0
|
|
hooks:
|
|
- id: prettier
|
|
types: [yaml]
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.2.1
|
|
hooks:
|
|
- id: ruff-format
|
|
- id: ruff
|
|
args: [--fix, --exit-non-zero-on-fix] |