Flake8 git hook lints all files
I install and enable flake8 via pip in virtualenv:
$ (env) pip install flake8
$ (env) flake8 --install-hook git
When I want to commit for example css files flake8 still lints them:
/tmp/tmpYUUNeN/home/name/Development/proj/css/lib/jquery-ui.css:1:1: E999 SyntaxError: invalid syntax
Is there any way to run flake8 only on python files?