Lefthook: fix python format hook
This commit is contained in:
@@ -18,6 +18,7 @@ pre-commit:
|
|||||||
- name: "format python"
|
- name: "format python"
|
||||||
glob: "**/*.py"
|
glob: "**/*.py"
|
||||||
run: "black --quiet {staged_files}"
|
run: "black --quiet {staged_files}"
|
||||||
|
stage_fixed: true
|
||||||
|
|
||||||
- name: "mypy"
|
- name: "mypy"
|
||||||
glob: "**/*.py"
|
glob: "**/*.py"
|
||||||
|
|||||||
Reference in New Issue
Block a user