File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44uv sync --all-groups --all-extras
55
66# install pre-commit hooks
7- # uv run pre-commit install --install-hooks
7+ uv run pre-commit install --install-hooks
Original file line number Diff line number Diff line change 1+ default_language_version :
2+ python : python3
3+
4+ default_stages : [pre-commit, pre-push]
5+
6+ repos :
7+ - repo : https://github.com/pre-commit/pre-commit-hooks
8+ rev : v5.0.0
9+ hooks :
10+ - id : check-added-large-files
11+ args : ["--maxkb=1024"]
12+ - id : check-case-conflict
13+ - id : check-merge-conflict
14+ - id : check-symlinks
15+ - id : check-toml
16+ - id : destroyed-symlinks
17+ - id : end-of-file-fixer
18+ - id : forbid-submodules
19+ - id : no-commit-to-branch
20+ args : ['--pattern', '[^a-zA-Z0-9_\/-]']
21+ - id : trailing-whitespace
22+
23+ - repo : https://github.com/charliermarsh/ruff-pre-commit
24+ rev : v0.11.7
25+ hooks :
26+ - id : ruff
27+ # Run the Ruff formatter.
28+ - id : ruff-format
29+ args : [--check]
30+
31+ - repo : https://github.com/astral-sh/uv-pre-commit
32+ # uv version.
33+ rev : 0.7.7
34+ hooks :
35+ - id : uv-lock
You can’t perform that action at this time.
0 commit comments