Rules: Add the 'braces' rule

This commit is contained in:
Adrien Vergé
2016-01-13 19:31:03 +01:00
parent d08eb22081
commit 5c4c208b98
5 changed files with 163 additions and 6 deletions

View File

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