Add a hook to verify python ast.

This commit is contained in:
Anthony Sottile 2015-08-04 13:45:41 -07:00
parent 003e43251a
commit 8a8aaf5a60
5 changed files with 59 additions and 0 deletions

View file

@ -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