yamllint/tests/rules
Jérôme Alet c268a82c5a
key-duplicates: Don't crash on redundant closing brackets or braces
Don't break on empty `context` stack when invalid YAML:

    [ a, b, c ] ]
    {a: 1, b: 2} }
2022-04-20 11:00:08 +02:00
..
__init__.py Initial commit 2016-01-14 10:46:14 +01:00
test_braces.py Allow only non-empty brackets/braces 2020-12-15 11:52:21 +01:00
test_brackets.py Allow only non-empty brackets/braces 2020-12-15 11:52:21 +01:00
test_colons.py Tests: Reorganize common and global tests 2016-02-01 16:56:32 +01:00
test_commas.py Tests: Reorganize common and global tests 2016-02-01 16:56:32 +01:00
test_comments_indentation.py Add rule: truthy, to forbid truthy values that are not quoted 2016-10-01 09:03:59 +02:00
test_comments.py comments: Allow whitespace after the shebang marker 2021-12-19 22:02:56 +01:00
test_common.py parser: Iterate over lines + tokens + comments 2016-06-27 17:47:13 +02:00
test_document_end.py fix(rules): Use true/false, not yes/no 2016-11-18 12:02:02 +01:00
test_document_start.py fix(rules): Use true/false, not yes/no 2016-11-18 12:02:02 +01:00
test_empty_lines.py fix(parser): Correctly handle DOS new lines in 'line' rules 2019-04-09 16:48:00 +02:00
test_empty_values.py empty-values: Add forbid-in-flow-mappings conf 2017-11-05 09:29:03 +01:00
test_hyphens.py Tests: Reorganize common and global tests 2016-02-01 16:56:32 +01:00
test_indentation.py Upgrade Python syntax with pyupgrade 2018-11-26 19:09:47 +01:00
test_key_duplicates.py key-duplicates: Don't crash on redundant closing brackets or braces 2022-04-20 11:00:08 +02:00
test_key_ordering.py Add global "locale" config option and make key-ordering rule locale-aware 2020-07-16 09:34:13 +02:00
test_line_length.py Fix spelling of "across" in test output 2022-03-21 13:48:34 +01:00
test_new_line_at_end_of_file.py Config: Allow 'enable' keyword for rules 2016-03-06 08:00:25 +01:00
test_new_lines.py Fix bug with CRLF in new-lines and require-starting-space 2020-04-30 16:38:19 +02:00
test_octal_values.py octal-values: Prevent detection of 8 and 9 as octal values 2020-09-08 09:53:54 +02:00
test_quoted_strings.py quoted-strings: Fix explicit octal recognition 2021-01-11 16:38:29 +01:00
test_trailing_spaces.py Config: Allow 'enable' keyword for rules 2016-03-06 08:00:25 +01:00
test_truthy.py truthy: Add missing test removed from PR 2020-04-08 12:31:12 +02:00