mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 20:26:53 +00:00
whitelist a bandit false positive and improve type annotation
This commit is contained in:
parent
89b0bb87d7
commit
dcd37ec3d4
2 changed files with 6 additions and 6 deletions
|
|
@ -337,9 +337,9 @@ def test_log_token(token, log_string):
|
|||
|
||||
|
||||
@pytest.mark.parametrize('current_count, token_text, expected', [
|
||||
(None, '(', 1),
|
||||
(None, '[', 1),
|
||||
(None, '{', 1),
|
||||
(0, '(', 1),
|
||||
(0, '[', 1),
|
||||
(0, '{', 1),
|
||||
(1, ')', 0),
|
||||
(1, ']', 0),
|
||||
(1, '}', 0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue