Rules: Add the 'brackets' rule

This commit is contained in:
Adrien Vergé
2016-01-13 18:52:05 +01:00
parent a5b384ab21
commit d08eb22081
9 changed files with 202 additions and 34 deletions

View File

@@ -15,6 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from yamllint.rules import (
brackets,
colons,
commas,
document_end,
@@ -29,6 +30,7 @@ from yamllint.rules import (
)
_RULES = {
brackets.ID: brackets,
colons.ID: colons,
commas.ID: commas,
document_end.ID: document_end,