summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-07-26 19:41:41 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2016-07-26 19:45:05 -0500
commite51fc5458b81b6c56c359c79b13ce88b70e476ec (patch)
treefc869436089258d822661fa22e32a6c86b8d41e7 /docs/source
parent6eca38f2f2a15765aecef010f878aa17fdbe1db7 (diff)
downloadflake8-e51fc5458b81b6c56c359c79b13ce88b70e476ec.tar.gz
Fix handling of logical lines with noqa
When attempting to centralize all inline NoQA handling in the StyleGuide we inadvertently broke plugins relying on it in combination with checker state. For example, the check for E402 relies both on NoQA and the state to determine if it has seen a non-import line. Placing NoQA on the sole line that is not an import is more elegant than placing it on each of the following import lines. Closes #186
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/release-notes/3.0.2.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/source/release-notes/3.0.2.rst b/docs/source/release-notes/3.0.2.rst
index 4fbc0a4..4ff8a1f 100644
--- a/docs/source/release-notes/3.0.2.rst
+++ b/docs/source/release-notes/3.0.2.rst
@@ -6,7 +6,12 @@
- Fix indexing of column numbers. We accidentally were starting column indices
at 0 instead of 1.
+- Fix regression in handling of errors like E402 that rely on a combination of
+ attributes. (See also `GitLab#186`_)
+
.. links
.. _GitLab#181:
https://gitlab.com/pycqa/flake8/issues/181
+.. _GitLab#186:
+ https://gitlab.com/pycqa/flake8/issues/186