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.
In the case when the conf is as follows: indentation: spaces: consistent indent-sequences: true and there is no indented block before the first block sequence, and this block sequence is not indented, then the spaces number is computed as zero (while it obviously shouldn't be). This causes such a document to fail on 4th line, instead of 2nd: a: - b c: - d This commit fixes that, and adds corresponding tests. Fixes: #39 |
8 years ago | |
---|---|---|
.. | ||
rules | 8 years ago | |
yaml-1.2-spec-examples | 9 years ago | |
__init__.py | 9 years ago | |
common.py | 9 years ago | |
test_cli.py | 9 years ago | |
test_config.py | 8 years ago | |
test_linter.py | 9 years ago | |
test_parser.py | 9 years ago | |
test_spec_examples.py | 8 years ago | |
test_syntax_errors.py | 9 years ago | |
test_yamllint_directives.py | 9 years ago |