Rules: new-lines: Force type to be in ('unix', 'dos')

This commit is contained in:
Adrien Vergé 2016-01-21 21:59:07 +01:00
parent 7b6f024448
commit 08f99ccc19

View File

@ -19,7 +19,7 @@ from yamllint.errors import LintProblem
ID = 'new-lines'
TYPE = 'line'
CONF = {'type': str}
CONF = {'type': ('unix', 'dos')}
def check(conf, line):