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
Tim Wade ca540c113b Fix indentation rule for key following empty list
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 Fix indentation rule for key following empty list 8 years ago
yaml-1.2-spec-examples Tests: Remove ghost character from YAML spec example 9 years ago
__init__.py Tests: Run with LC_ALL=C for uniform tests 9 years ago
common.py chore(tests): Also run tests on Python 2.6 8 years ago
test_cli.py chore(tests): Also run tests on Python 2.6 8 years ago
test_config.py chore(tests): Also run tests on Python 2.6 8 years ago
test_linter.py chore(tests): Also run tests on Python 2.6 8 years ago
test_module.py chore(tests): Also run tests on Python 2.6 8 years ago
test_parser.py chore(tests): Also run tests on Python 2.6 8 years ago
test_spec_examples.py fix(rules): Use `true`/`false`, not `yes`/`no` 8 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