mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 04:36:52 +00:00
Add some better comments for decision logic
This commit is contained in:
parent
e8c6a1e2f5
commit
ff07ca3ed9
2 changed files with 28 additions and 1 deletions
|
|
@ -162,7 +162,9 @@ def test_decision_for(select_list, ignore_list, error_code, expected):
|
|||
style_guide.Decision.Ignored),
|
||||
(defaults.SELECT, ['E126'], [], ['I'], 'I101',
|
||||
style_guide.Decision.Selected),
|
||||
# This next one should exercise the catch-all return
|
||||
# This next one should exercise the catch-all return and yes, this is
|
||||
# a *very* odd combination but users find much odder combinations
|
||||
# anyway.
|
||||
(['E', 'W'], defaults.IGNORE, ['I'], [], 'I101',
|
||||
style_guide.Decision.Selected),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue