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 rare case when the key before `:` is an alias (e.g. `{*x : 4}`),
the space before `:` is required (although this requirement is not
enforced by PyYAML), the reason being that a colon can be part of an
anchor name. Consequently, this commit adapts the `colons` rule to avoid
failures when this happens.
See this comment from Tina Müller for more details:
https://github.com/adrienverge/yamllint/pull/550#discussion_r1155297373
|
3 years ago | |
|---|---|---|
| .. | ||
| rules | 3 years ago | |
| yaml-1.2-spec-examples | 10 years ago | |
| __init__.py | 3 years ago | |
| common.py | 3 years ago | |
| test_cli.py | 3 years ago | |
| test_config.py | 3 years ago | |
| test_linter.py | 3 years ago | |
| test_module.py | 3 years ago | |
| test_parser.py | 3 years ago | |
| test_spec_examples.py | 3 years ago | |
| test_syntax_errors.py | 3 years ago | |
| test_yamllint_directives.py | 3 years ago | |