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.
2017-10-16 22:17:58 +02:00
..
rules Fix indentation rule for key following empty list 2017-10-16 22:17:58 +02:00
yaml-1.2-spec-examples Tests: Remove ghost character from YAML spec example 2016-02-01 23:27:49 +01:00
__init__.py Tests: Run with LC_ALL=C for uniform tests 2016-06-28 11:04:50 +02:00
common.py chore(tests): Also run tests on Python 2.6 2017-07-04 22:07:32 +02:00
test_cli.py chore(tests): Also run tests on Python 2.6 2017-07-04 22:07:32 +02:00
test_config.py chore(tests): Also run tests on Python 2.6 2017-07-04 22:07:32 +02:00
test_linter.py chore(tests): Also run tests on Python 2.6 2017-07-04 22:07:32 +02:00
test_module.py chore(tests): Also run tests on Python 2.6 2017-07-04 22:07:32 +02:00
test_parser.py chore(tests): Also run tests on Python 2.6 2017-07-04 22:07:32 +02:00
test_spec_examples.py fix(rules): Use true/false, not yes/no 2016-11-18 12:02:02 +01:00
test_syntax_errors.py Rules: indentation: Handle sets 2016-02-01 17:52:46 +01:00
test_yamllint_directives.py Allow disabling yamllint checks using comments 2016-06-27 17:53:23 +02:00