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