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
Adrien Vergé 0eb310e102 Allow disabling yamllint checks using comments
Implement problem report disabling with comments in YAML source, for
instance:

    # The following mapping contains the same key twice,
    # but I know what I'm doing:
    key: value 1
    key: value 2  # yamllint disable-line rule:key-duplicates

or:

    # yamllint disable rule:colons
    - Lorem       : ipsum
      dolor       : sit amet,
      consectetur : adipiscing elit
    # yamllint enable rule:colons

Closes: #8
9 years ago
..
rules parser: Iterate over lines + tokens + comments 9 years ago
yaml-1.2-spec-examples Tests: Remove ghost character from YAML spec example 9 years ago
__init__.py Initial commit 9 years ago
common.py Tests: Reorganize common and global tests 9 years ago
test_cli.py Config: Allow a user-global configuration file 9 years ago
test_config.py Tests: config: Check the non-valid-yaml-config case 9 years ago
test_linter.py linter: Test run on str, unicode, bytes and stream 9 years ago
test_parser.py parser: Add tests for `Comment.is_inline()` 9 years ago
test_spec_examples.py Tests: Use absolute path to spec examples 9 years ago
test_syntax_errors.py Rules: indentation: Handle sets 9 years ago
test_yamllint_directives.py Allow disabling yamllint checks using comments 9 years ago