Implement exclude_types

This commit is contained in:
Anthony Sottile
2017-07-02 19:08:33 -07:00
parent f956f421be
commit 05a108efe1
6 changed files with 46 additions and 13 deletions

View File

@@ -0,0 +1,6 @@
- id: python-files
name: Python files
entry: bin/hook.sh
language: script
types: [python]
exclude_types: [python3]

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
echo $@
exit 1