Skip to content

Commit

Permalink
style: Fix indentation test file missing whitespace
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
adrienverge committed Oct 24, 2022
1 parent 764586d commit 151b1c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/rules/test_indentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1391,15 +1391,15 @@ def test_nested_collections_with_spaces_consistent(self):
' - elem\n'
'- item:\n'
' - elem\n'
'...\n', conf, problem=(5,5))
'...\n', conf, problem=(5, 5))
conf = ('indentation: {spaces: consistent,\n'
' indent-sequences: consistent}')
self.check('---\n'
'- item:\n'
' - elem\n'
'- item:\n'
' - elem\n'
'...\n', conf, problem=(5,5))
'...\n', conf, problem=(5, 5))
conf = ('indentation: {spaces: consistent,\n'
' indent-sequences: whatever}')
self.check('---\n'
Expand Down

0 comments on commit 151b1c4

Please sign in to comment.