File tree Expand file tree Collapse file tree 4 files changed +1740
-1032
lines changed
Expand file tree Collapse file tree 4 files changed +1740
-1032
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
3+
34repos :
45 - repo : https://github.com/pre-commit/pre-commit-hooks
5- rev : v2.4 .0
6+ rev : v6.0 .0
67 hooks :
7- - id : check-ast
8- - id : trailing-whitespace
8+ - id : check-added-large-files
9+ - id : pretty-format-json
10+ args :
11+ - " --indent=2"
12+ - " --autofix"
13+ - id : check-json
14+ - id : check-yaml
15+ exclude : .github/
916 - id : check-toml
1017 - id : end-of-file-fixer
18+ - id : trailing-whitespace
1119
1220 - repo : https://github.com/asottile/add-trailing-comma
13- rev : v2.1 .0
21+ rev : v4.0 .0
1422 hooks :
1523 - id : add-trailing-comma
1624
17- - repo : local
25+ - repo : https://github.com/crate-ci/typos
26+ rev : v1.43.4
1827 hooks :
19- - id : black
20- name : Format with Black
21- entry : poetry run black
22- language : system
23- types : [python]
28+ - id : typos
2429
30+ - repo : https://github.com/Yelp/detect-secrets
31+ rev : v1.5.0
32+ hooks :
33+ - id : detect-secrets
34+
35+ - repo : https://github.com/astral-sh/uv-pre-commit
36+ rev : 0.10.2
37+ hooks :
38+ - id : uv-lock
39+
40+ - repo : https://github.com/astral-sh/ruff-pre-commit
41+ rev : v0.15.0
42+ hooks :
43+ - id : ruff-format
2544 - id : ruff
26- name : Run ruff lints
27- entry : poetry run ruff
28- language : system
29- pass_filenames : false
30- types : [python]
31- args :
32- - " check"
33- - " --fix"
34- - " ."
45+ args : [ --fix, --unsafe-fixes ]
3546
47+ - repo : https://github.com/pre-commit/mirrors-mypy
48+ rev : ' v1.19.1'
49+ hooks :
3650 - id : mypy
37- name : Validate types with MyPy
38- entry : poetry run mypy
51+ additional_dependencies : [ "no_implicit_optional" ]
52+
53+ - repo : local
54+ hooks :
55+ - id : black
56+ name : Format with Black
57+ entry : uv run black
3958 language : system
4059 types : [python]
You can’t perform that action at this time.
0 commit comments