Rules: indentation: Add the 'indent-sequences' option

Using either 'yes', 'no' or 'whatever', the user will be able to choose
whether to force block sequence items to be indented, to force them not
to be indented, or don't care, respectively.
This commit is contained in:
Adrien Vergé
2016-01-19 22:26:32 +01:00
parent ad5cec9c6c
commit 0b0251bacc
6 changed files with 218 additions and 36 deletions

View File

@@ -115,7 +115,7 @@ class CommentsIndentationTestCase(RuleTestCase):
' # comments\n'
' b: 2\n', conf)
self.check('---\n'
'mylist:\n'
'my list for today:\n'
' - todo 1\n'
' - todo 2\n'
' # commented for now\n'