File tree Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Original file line number Diff line number Diff line change @@ -24,36 +24,13 @@ repos:
2424 exclude_types : [python] # Covered by Ruff W291.
2525 exclude : " .*(data.*|licenses.*|_static.*|\\ .ya?ml|\\ .jpe?g|\\ .png|\\ .svg|\\ .webp)$"
2626
27- - repo : https://github.com/astral-sh/ruff-pre-commit
28- rev : v0.12.0
29- hooks :
30- - id : ruff-format
31- types : [python]
32- pass_filenames : true
33-
34- - repo : https://github.com/christophmeissner/pytest-pre-commit
35- rev : 1.0.0
36- hooks :
37- - id : pytest
38- language : system
39- types : [python]
40- pass_filenames : false
41- always_run : false
42-
4327 - repo : local
4428 hooks :
45- - id : mypy-check
46- name : mypy type check
47- entry : mypy
48- language : system
49- types : [python]
50- pass_filenames : false
51-
5229 - id : maturin-develop
5330 name : maturin develop
5431 entry : maturin develop
5532 language : system
56- types : [rust]
33+ files : ^(python/|src/|Cargo\.toml|pyproject\.toml)
5734 pass_filenames : false
5835
5936 - id : cargo-fmt
@@ -69,3 +46,26 @@ repos:
6946 language : system
7047 types : [rust]
7148 pass_filenames : false
49+
50+ - id : mypy-check
51+ name : mypy type check
52+ entry : mypy
53+ language : system
54+ types : [python]
55+ pass_filenames : false
56+
57+ - repo : https://github.com/astral-sh/ruff-pre-commit
58+ rev : v0.12.0
59+ hooks :
60+ - id : ruff-format
61+ types : [python]
62+ pass_filenames : true
63+
64+ - repo : https://github.com/christophmeissner/pytest-pre-commit
65+ rev : 1.0.0
66+ hooks :
67+ - id : pytest
68+ language : system
69+ types : [python]
70+ pass_filenames : false
71+ always_run : false
You can’t perform that action at this time.
0 commit comments