style: Fix indentation test file missing whitespace

Commit 764586d "indentation: Fix indent-sequences in nested collections"
introduced 2 style-related problems:

    tests/rules/test_indentation.py:1394:45: E231 missing whitespace after ','
    tests/rules/test_indentation.py:1402:45: E231 missing whitespace after ','

Let's fix them.
This commit is contained in:
Adrien Vergé 2022-10-24 14:36:03 +02:00
parent 764586d836
commit 151b1c4086

View File

@ -1391,7 +1391,7 @@ class IndentationTestCase(RuleTestCase):
' - elem\n' ' - elem\n'
'- item:\n' '- item:\n'
' - elem\n' ' - elem\n'
'...\n', conf, problem=(5,5)) '...\n', conf, problem=(5, 5))
conf = ('indentation: {spaces: consistent,\n' conf = ('indentation: {spaces: consistent,\n'
' indent-sequences: consistent}') ' indent-sequences: consistent}')
self.check('---\n' self.check('---\n'
@ -1399,7 +1399,7 @@ class IndentationTestCase(RuleTestCase):
' - elem\n' ' - elem\n'
'- item:\n' '- item:\n'
' - elem\n' ' - elem\n'
'...\n', conf, problem=(5,5)) '...\n', conf, problem=(5, 5))
conf = ('indentation: {spaces: consistent,\n' conf = ('indentation: {spaces: consistent,\n'
' indent-sequences: whatever}') ' indent-sequences: whatever}')
self.check('---\n' self.check('---\n'