mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-07 07:49:14 -05:00
Move stuff into commands and write tests.
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
echo 'Fail'
|
||||
echo $@
|
||||
exit 1
|
||||
@@ -0,0 +1,4 @@
|
||||
- id: failing_hook
|
||||
name: Failing hook
|
||||
entry: bin/hook.sh
|
||||
language: script
|
||||
@@ -1,5 +0,0 @@
|
||||
import os
|
||||
|
||||
def func():
|
||||
print os.getcwd()
|
||||
return 0
|
||||
Reference in New Issue
Block a user