alexcouper / captainhook

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

isort does not support skip parameter #106

Closed worroc closed 8 years ago

worroc commented 8 years ago

I have Docker file that starts with "from python:3.5". The utils.filter_python_files doesn't care about such files that just have python in it's first line. The isort_checker simple assumes: this is Python file.

Should be a way to tell isort_checker to skip files.

worroc commented 8 years ago

Sorry about wrong post. This is not captainhook deal to filter out the files that should be skipped by isort.