File tree 1 file changed +12
-10
lines changed
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,18 @@ default_stages: [
15
15
ci :
16
16
autofix_prs : false
17
17
repos :
18
+ - repo : local
19
+ hooks :
20
+ # NOTE: we make `black` a local hook because if it's installed from
21
+ # PyPI (rather than from source) then it'll run twice as fast thanks to mypyc
22
+ - id : black
23
+ name : black
24
+ description : " Black: The uncompromising Python code formatter"
25
+ entry : black
26
+ language : python
27
+ require_serial : true
28
+ types_or : [python, pyi]
29
+ additional_dependencies : [black==23.1.0]
18
30
- repo : https://github.com/charliermarsh/ruff-pre-commit
19
31
rev : v0.0.244
20
32
hooks :
@@ -116,16 +128,6 @@ repos:
116
128
- id : sphinx-lint
117
129
- repo : local
118
130
hooks :
119
- # NOTE: we make `black` a local hook because if it's installed from
120
- # PyPI (rather than from source) then it'll run twice as fast thanks to mypyc
121
- - id : black
122
- name : black
123
- description : " Black: The uncompromising Python code formatter"
124
- entry : black
125
- language : python
126
- require_serial : true
127
- types_or : [python, pyi]
128
- additional_dependencies : [black==23.1.0]
129
131
- id : pyright
130
132
# note: assumes python env is setup and activated
131
133
name : pyright
You can’t perform that action at this time.
0 commit comments