File tree Expand file tree Collapse file tree 1 file changed +28
-13
lines changed
Expand file tree Collapse file tree 1 file changed +28
-13
lines changed Original file line number Diff line number Diff line change 11# See https://pre-commit.com for more information
22# See https://pre-commit.com/hooks.html for more hooks
33repos :
4- - repo : https://github.com/pre-commit/pre-commit-hooks
4+ - repo : https://github.com/pre-commit/pre-commit-hooks
55 rev : v6.0.0
66 hooks :
7- - id : check-added-large-files
8- - id : check-toml
9- - id : check-yaml
7+ - id : check-added-large-files
8+ - id : check-toml
9+ - id : check-yaml
1010 args :
11- - --unsafe
12- - id : end-of-file-fixer
13- - id : trailing-whitespace
14- - repo : https://github.com/astral-sh/ruff-pre-commit
15- rev : v0.14.10
11+ - --unsafe
12+ - id : end-of-file-fixer
13+ - id : trailing-whitespace
14+
15+ - repo : local
1616 hooks :
17- - id : ruff
18- args :
19- - --fix
20- - id : ruff-format
17+ - id : local-ruff-check
18+ name : ruff check
19+ entry : uv run ruff check --force-exclude --fix --exit-non-zero-on-fix
20+ require_serial : true
21+ language : unsupported
22+ types : [python]
23+
24+ - id : local-ruff-format
25+ name : ruff format
26+ entry : uv run ruff format --force-exclude --exit-non-zero-on-format
27+ require_serial : true
28+ language : unsupported
29+ types : [python]
30+
31+ - id : generate-select
32+ language : unsupported
33+ name : generate-select
34+ entry : uv run ./scripts/generate_select.py
35+ files : ^scripts/generate_select\.py|sqlmodel/sql/_expression_select_gen\.py\.jinja2$
You can’t perform that action at this time.
0 commit comments