python,misc: Add check-ast hook to pre-commit
This verifies all Python files have a AST indicating they valid Python. No file in the repo fails this test, so it triggered no changes. Change-Id: Ifd7998268df6be766d92c19cfc7f1cfdf8ed103e
This commit is contained in:
@@ -62,6 +62,7 @@ repos:
|
||||
- id: check-added-large-files
|
||||
- id: mixed-line-ending
|
||||
args: [--fix=lf]
|
||||
- id: check-ast
|
||||
- id: check-case-conflict
|
||||
- id: requirements-txt-fixer
|
||||
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
|
||||
|
||||
Reference in New Issue
Block a user