Skip to content
  • Ian Stapleton Cordasco's avatar
    Only force files to be included when run from CLI · e4582ef4
    Ian Stapleton Cordasco authored
    Previously we added support so users can do:
    
        $ flake8 bin/executable
    
    But this broke the fact that git hooks shouldn't check things like
    reStructuredText doc files. This commit restores that functionality but
    will cause bin/executable to be ignored in the git hook. This seems fair
    since folks can amend their filename patterns to include it explicitly.
    
    Closes #268
    e4582ef4