From 33f5bad48432a217797c952cba4b9cdd422c933f Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sun, 16 Mar 2014 18:12:23 -0700 Subject: [PATCH] Add moar hooks to our pre-commit --- .pre-commit-config.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 89bae153..0b4b8e0f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,20 @@ - repo: git@github.com:pre-commit/pre-commit-hooks - sha: 5e713f8878b7d100c0e059f8cc34be4fc2e8f897 + sha: 9a4d67d8f70f2d4f63ce0ac32432804744dabfbd hooks: - id: pyflakes files: '\.py$' + - + id: debug-statements + files: '\.py$' + - + id: trailing-whitespace + files: '\.(py|sh)$' + - + id: name-tests-test + files: 'tests/.+\.py$' - repo: git@github.com:pre-commit/pre-commit