mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-09 06:14:17 +00:00
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
This commit is contained in:
parent
217aa8185c
commit
299e200cb9
4 changed files with 19 additions and 6 deletions
10
docs/source/release-notes/3.0.1.rst
Normal file
10
docs/source/release-notes/3.0.1.rst
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue