Match noqa for users with explanations

This makes the regular expression a bit more complex, and potentially
slower, but it will fix the issue where users had noqa comments with
colons followed by explanations.

Closes #178
This commit is contained in:
Ian Cordasco 2016-07-28 06:25:41 -05:00
parent 47e3e65cc1
commit c0ddc54f2f
No known key found for this signature in database
GPG key ID: 656D3395E4A9791A
4 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,10 @@
3.0.3 -- 2016-07-28 (unreleased)
--------------------------------
- Fix ``# noqa`` comments followed by a ``:`` and explanation broken by
3.0.0 (See also `GitLab#178`_)
.. links
.. _GitLab#178:
https://gitlab.com/pycqa/flake8/issues/178

View file

@ -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.3
3.0.2
3.0.1
3.0.0