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é 6dae8f5b6e feat(truthy): Allow explicit types
With this change, we don't require quotes for truthy values that are
explicitly typed. For instance, the following examples are all
considered valid:

    string1: !!str True
    string2: !!str yes
    string3: !!str off
    encoded: !!binary |
               True
               OFF
               pad==  # this decodes as 'N\xbb\x9e8Qii'
    boolean1: !!bool true
    boolean2: !!bool "false"
    boolean3: !!bool FALSE
    boolean4: !!bool True
    boolean5: !!bool off
    boolean6: !!bool NO
8 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 feat(comments): Allow comments with multiple hash chars 9 years ago
test_comments_indentation.py Add rule: truthy, to forbid truthy values that are not quoted 8 years ago
test_common.py parser: Iterate over lines + tokens + comments 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 parser: Iterate over lines + tokens + comments 9 years ago
test_key_duplicates.py Config: Allow 'enable' keyword for rules 9 years ago
test_line_length.py fix(line-length): Wrap token scanning securely 8 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
test_truthy.py feat(truthy): Allow explicit types 8 years ago