Commit graph

18 commits

Author SHA1 Message Date
Ian Cordasco
c0ddc54f2f
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
2016-07-28 06:48:15 -05:00
Ian Cordasco
3936141209
Update version and release notes for 3.0.2 2016-07-26 19:50:54 -05:00
Ian Cordasco
e51fc5458b
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
2016-07-26 19:45:05 -05:00
Ian Cordasco
6eca38f2f2
Fix zero-indexed column numbering
We accidentally changed column numbering from one-indexed to
zero-indexed.
2016-07-26 19:45:05 -05:00
Ian Cordasco
c40b562feb
Move the unreleased note to the right version 2016-07-26 11:29:34 -05:00
Ian Cordasco
df2fa18a08
Fix project config file discovery
Flake8 3.0 was stopping once it found the current directory but the
historical behaviour (that we didn't intend to break) searched past
that (towards root) until it found one of the project/local config
file names that could be read.

Closes #181
2016-07-26 09:37:32 -05:00
Ian Cordasco
88d9213962
Add release notes for 3.0.1 2016-07-25 19:43:27 -05:00
Ian Cordasco
299e200cb9
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
2016-07-25 11:00:18 -05:00
Ian Cordasco
ff0bf5f0f9
Update release notes and version string for 3.0 2016-07-24 20:11:48 -05:00
Ian Cordasco
5b8a875965
Add 3.0.0b2 release notes 2016-06-28 20:47:44 -05:00
Ian Cordasco
b82e0d5176
Add forgotten release note 2016-06-26 06:44:05 -05:00
Ian Cordasco
00575214db
Add missing release notes 2016-06-25 12:29:58 -05:00
Ian Cordasco
6eb2e3a701
Add more release notes for 3.0.0b1 2016-06-25 11:55:52 -05:00
Ian Cordasco
7340b3e057
Add release note for 2.6.1 2016-06-25 11:40:41 -05:00
Ian Cordasco
b1f039a476
Add information about new --verbose behaviour 2016-06-15 09:20:26 -05:00
Ian Cordasco
25502f6ade
Add note about # noqa: <errors> 2016-06-15 07:48:46 -05:00
Ian Cordasco
29419b0ac3
Start a changelog entry for 3.0.0 2016-06-14 20:48:04 -05:00
Ian Cordasco
472e7c9589
Add release notes portion of documentation 2016-06-14 09:58:24 -05:00