mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 04:36:52 +00:00
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
17 lines
485 B
ReStructuredText
17 lines
485 B
ReStructuredText
3.0.2 -- 2016-07-26 (unreleased)
|
|
--------------------------------
|
|
|
|
- Fix local config file discovery. (See also `GitLab#181`_)
|
|
|
|
- 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
|