alexcouper / captainhook

Git hook scripts
BSD 3-Clause "New" or "Revised" License
54 stars 14 forks source link

Add grep checker. #24

Closed OddBloke closed 10 years ago

OddBloke commented 10 years ago

This outputs differently for single and multiple files.

Fixing now.

OddBloke commented 10 years ago

Done.

alexcouper commented 10 years ago

Looks good - although gets caught out by commented out lines ;)

I'm starting to wonder whether checkers should have access to their own configuration stuff in tox.ini rather than having a single string after on|off.

eg.

[captainhook]
grep=on

[captainhook-grep]
# A bunch of stuff that grep has access to.