alexcouper / captainhook

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

isort for irrelivant files on commit not python file #104

Open worroc opened 8 years ago

worroc commented 8 years ago

issue of captainhook/captainhook/checkers/isort_checker.py

When i commit not python file for instance "settings.cfg" the plugin executes "isort -df --quiet" the check all my project.

The behavior should be just commit without running the isort