summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-11-23 16:36:26 -0600
committerIan Cordasco <graffatcolmingov@gmail.com>2016-11-23 16:36:26 -0600
commite4582ef4e767ca7498cf42bdf8772b82dcf0ded3 (patch)
treeb1b62323edb436c363e95f21336d1587844ed0c7 /docs
parentf8fbc11fad9003423efc165669b7c2838929b985 (diff)
downloadflake8-e4582ef4e767ca7498cf42bdf8772b82dcf0ded3.tar.gz
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
Diffstat (limited to 'docs')
-rw-r--r--docs/source/release-notes/3.3.0.rst4
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