mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
Add a hook to verify python ast.
This commit is contained in:
parent
003e43251a
commit
8a8aaf5a60
5 changed files with 59 additions and 0 deletions
|
|
@ -12,6 +12,12 @@
|
|||
language: python
|
||||
# Match all files
|
||||
files: ''
|
||||
- id: check-ast
|
||||
name: Check python ast
|
||||
description: Simply check whether the files parse as valid python.
|
||||
entry: check-ast
|
||||
language: python
|
||||
files: '\.py$'
|
||||
- id: check-case-conflict
|
||||
name: Check for case conflicts
|
||||
description: Check for files that would conflict in case-insensitive filesystems
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue