Source

flake8 / flake8 / hooks.py

Diff from to

File flake8/hooks.py

     if lazy:
         gitcmd = gitcmd.replace('--cached ', '')
 
+    if hasattr(ignore, 'split'):
+        ignore = ignore.split(',')
+
     _, files_modified, _ = run(gitcmd)
 
     flake8_style = get_style_guide(