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.
b92fc9cb31
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 |
2 years ago | |
---|---|---|
.. | ||
rules | 2 years ago | |
yaml-1.2-spec-examples | 9 years ago | |
__init__.py | 3 years ago | |
common.py | 3 years ago | |
test_cli.py | 2 years ago | |
test_config.py | 2 years ago | |
test_linter.py | 2 years ago | |
test_module.py | 3 years ago | |
test_parser.py | 3 years ago | |
test_spec_examples.py | 2 years ago | |
test_syntax_errors.py | 3 years ago | |
test_yamllint_directives.py | 3 years ago |