Rules: Add the 'comments-indentation' rule

This commit is contained in:
Adrien Vergé
2016-01-14 18:08:55 +01:00
parent e81b73c111
commit 233a70adb3
8 changed files with 315 additions and 107 deletions

View File

@@ -20,6 +20,7 @@ from yamllint.rules import (
colons,
commas,
comments,
comments_indentation,
document_end,
document_start,
empty_lines,
@@ -37,6 +38,7 @@ _RULES = {
colons.ID: colons,
commas.ID: commas,
comments.ID: comments,
comments_indentation.ID: comments_indentation,
document_end.ID: document_end,
document_start.ID: document_start,
empty_lines.ID: empty_lines,