-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
23 lines (23 loc) · 703 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
23 lines (23 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
exclude: "(flake.lock|r'.+.age$'|r'.+.sh$')"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0 # Use the ref you want to point at
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: local
hooks:
- id: ruff-format
name: ruff-format
entry: uv run ruff format --force-exclude
language: system
types_or: [python, pyi]
args: []
require_serial: true
- id: ruff
name: ruff
entry: uv run ruff check --fix --force-exclude
language: system
types_or: [python, pyi]
args: []
require_serial: true