mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 20:26:53 +00:00
Fix subtle reporting bug for default on plugins
When we refactored our decision process to fix #239, we broke a subtle corner case where extensions that are not off-by-default are to be reported. This further refactors that logic and adds specific tests around it to ensure it works as expected and doesn't regress. Closes #257
This commit is contained in:
parent
8e4905279c
commit
c50b747a1a
5 changed files with 115 additions and 26 deletions
|
|
@ -3,6 +3,11 @@
|
|||
|
||||
You can view the `3.2.1 milestone`_ on GitLab for more details.
|
||||
|
||||
- Fix subtle bug when deciding whether to report an on-by-default's violation
|
||||
(See also `GitLab#257`_)
|
||||
|
||||
.. links
|
||||
.. _3.2.1 milestone:
|
||||
https://gitlab.com/pycqa/flake8/milestones/15
|
||||
.. _GitLab#257:
|
||||
https://gitlab.com/pycqa/flake8/issues/257
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue