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.
If a key-value pair follows an empty list, i.e.: ```yaml a: - b: c ``` yamllint will complain: ``` warning wrong indentation: expected 2 but found 0 (indentation) ``` This is because it is expecting the second key to be a continuation of the block entry above: ```yaml a: - b: c ``` However, both are perfectly valid, though structurally different. |
8 years ago | |
---|---|---|
.. | ||
rules | 8 years ago | |
yaml-1.2-spec-examples | 9 years ago | |
__init__.py | 9 years ago | |
common.py | 8 years ago | |
test_cli.py | 8 years ago | |
test_config.py | 8 years ago | |
test_linter.py | 8 years ago | |
test_module.py | 8 years ago | |
test_parser.py | 8 years ago | |
test_spec_examples.py | 8 years ago | |
test_syntax_errors.py | 9 years ago | |
test_yamllint_directives.py | 9 years ago |