summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-07-25 10:40:22 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2016-07-25 11:00:18 -0500
commit299e200cb981f4c0823a1fe9cd3baecc00a79203 (patch)
tree20374b4dfd9bde501d7d231f386ae3caff4b0dce /docs/source
parent217aa8185c784f6514ef2004c110e1f33d4dc6c3 (diff)
downloadflake8-299e200cb981f4c0823a1fe9cd3baecc00a79203.tar.gz
Handle multiline strings with '# noqa'
In Flake8 2.x we allowed people to use # noqa at the end of a multiline string to ignore errors inside the string (e.g., E501). Being blissfully ignorant of this, I never accounted for it in Flake8 3. This fixes the oversight and allows multiline statements to have the # noqa at the end. Closes #177
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/release-notes/3.0.1.rst10
-rw-r--r--docs/source/release-notes/index.rst1
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/source/release-notes/3.0.1.rst b/docs/source/release-notes/3.0.1.rst
new file mode 100644
index 0000000..6132a5d
--- /dev/null
+++ b/docs/source/release-notes/3.0.1.rst
@@ -0,0 +1,10 @@
+3.0.1 -- 2016-07-25
+-------------------
+
+- Fix regression in handling of ``# noqa`` for multiline strings.
+ (See also `GitLab#177`_)
+
+
+.. links
+.. _GitLab#177:
+ https://gitlab.com/pycqa/flake8/issues/177
diff --git a/docs/source/release-notes/index.rst b/docs/source/release-notes/index.rst
index e67b5da..8056b76 100644
--- a/docs/source/release-notes/index.rst
+++ b/docs/source/release-notes/index.rst
@@ -6,6 +6,7 @@ All of the release notes that have been recorded for Flake8 are organized here
with the newest releases first.
.. toctree::
+ 3.0.1
3.0.0
2.6.2
2.6.1