Spaces:
Running
Running
File size: 663 Bytes
d202ada |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-case-conflict
- id: end-of-file-fixer
# python, js and ts only
files: \.(py|js|ts)$
- id: mixed-line-ending
files: \.(py|js|ts)$
args:
- --fix=lf
- id: trailing-whitespace
- repo: local
hooks:
- id: ruff-check
name: ruff check
language: system
entry: bash -c "uv run ruff check"
types: [file, python]
- id: ruff-format
name: ruff format
language: system
entry: bash -c "uv run ruff format"
types: [file, python]
|