diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-11-23 22:50:13 +0000 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-11-23 22:50:13 +0000 |
| commit | b8ce1334d099aee9c7d2ea72f75bf01ccbe2b040 (patch) | |
| tree | b1b62323edb436c363e95f21336d1587844ed0c7 /docs | |
| parent | f8fbc11fad9003423efc165669b7c2838929b985 (diff) | |
| parent | e4582ef4e767ca7498cf42bdf8772b82dcf0ded3 (diff) | |
| download | flake8-b8ce1334d099aee9c7d2ea72f75bf01ccbe2b040.tar.gz | |
Merge branch 'bug/268' into 'master'
Only force files to be included when run from CLI
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
See merge request !157
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/source/release-notes/3.3.0.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/source/release-notes/3.3.0.rst b/docs/source/release-notes/3.3.0.rst index 4c1747b..ed9f171 100644 --- a/docs/source/release-notes/3.3.0.rst +++ b/docs/source/release-notes/3.3.0.rst @@ -3,7 +3,11 @@ You can view the `3.3.0 milestone`_ on GitLab for more details. +- Fix problem where hooks should only check \*.py files. (See also + `GitLab#268`_) .. links .. _3.3.0 milestone: https://gitlab.com/pycqa/flake8/milestones/16 +.. _GitLab#268: + https://gitlab.com/pycqa/flake8/issues/268 |
