mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-08 22:04:17 +00:00
FIX 507: allow multiple letters in codes
This commit is contained in:
parent
e7b8493b5d
commit
8e99b531cf
2 changed files with 6 additions and 1 deletions
|
|
@ -90,6 +90,11 @@ def test_parse_comma_separated_list(value, expected):
|
|||
['f.py:E,F', 'g.py:G,H'],
|
||||
[('f.py', ['E', 'F']), ('g.py', ['G', 'H'])],
|
||||
),
|
||||
# six-digits codes are allowed
|
||||
(
|
||||
'f.py: ABC123',
|
||||
[('f.py', ['ABC123'])],
|
||||
)
|
||||
),
|
||||
)
|
||||
def test_parse_files_to_codes_mapping(value, expected):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue