You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yamllint/tests/rules
Adrien Vergé 76f47e91ca Rules: indentation: Handle imbricated flows correctly
The following source -- although not loadable by pyyaml -- is valid
YAML:

    {{key}}: value

This was processed badly by yamllint. The same for `[[value]]`,
`{{{{{moustaches}}}}}` or:

    {[val,
      {{key: val,
        key2}}]}

This patch corrects it and add corresponding test cases.

Related-to: #3
9 years ago
..
__init__.py Initial commit 9 years ago
test_braces.py Tests: Reorganize common and global tests 9 years ago
test_brackets.py Tests: Reorganize common and global tests 9 years ago
test_colons.py Tests: Reorganize common and global tests 9 years ago
test_commas.py Tests: Reorganize common and global tests 9 years ago
test_comments.py Tests: Reorganize common and global tests 9 years ago
test_comments_indentation.py Config: Allow 'enable' keyword for rules 9 years ago
test_common.py Rules: comments-indentation: Allow two levels 9 years ago
test_document_end.py Tests: Reorganize common and global tests 9 years ago
test_document_start.py Tests: Reorganize common and global tests 9 years ago
test_empty_lines.py Tests: Reorganize common and global tests 9 years ago
test_hyphens.py Tests: Reorganize common and global tests 9 years ago
test_indentation.py Rules: indentation: Handle imbricated flows correctly 9 years ago
test_key_duplicates.py Config: Allow 'enable' keyword for rules 9 years ago
test_line_length.py Tests: Reorganize common and global tests 9 years ago
test_new_line_at_end_of_file.py Config: Allow 'enable' keyword for rules 9 years ago
test_new_lines.py Tests: Reorganize common and global tests 9 years ago
test_trailing_spaces.py Config: Allow 'enable' keyword for rules 9 years ago