mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 13:06:53 +00:00
introduce pyupgrade, run it in python2-compatible mode
This commit is contained in:
parent
1d5dd156ab
commit
55f29c636f
7 changed files with 14 additions and 7 deletions
|
|
@ -130,7 +130,7 @@ def test_noqa_line_for(default_options):
|
|||
])
|
||||
|
||||
for i in range(1, 4):
|
||||
assert file_processor.noqa_line_for(i) == 'Line {0}\n'.format(i)
|
||||
assert file_processor.noqa_line_for(i) == 'Line {}\n'.format(i)
|
||||
|
||||
|
||||
def test_noqa_line_for_continuation(default_options):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue