• 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
Name
Last commit
Last update
docs Loading commit data...
example-plugin Loading commit data...
src/flake8 Loading commit data...
tests Loading commit data...
.appveyor.yml Loading commit data...
.bandit.yml Loading commit data...
.coveragerc Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
.pylintrc Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.rst Loading commit data...
CONTRIBUTORS.txt Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
codecov.yml Loading commit data...
dev-requirements.txt Loading commit data...
pytest.ini Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...