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
amimas f874b6607c anchors: Add new option to detect unused anchors
According to the YAML specification [^1]:

- > An anchored node need not be referenced by any alias nodes

This means that it's OK to declare anchors but don't have any alias
referencing them. However users could want to avoid this, so a new
option (e.g. `forbid-unused-anchors`) is implemented in this change.
It is disabled by default.

[^1]: https://yaml.org/spec/1.2.2/#692-node-anchors
2 years ago
..
rules anchors: Add new option to detect unused anchors 2 years ago
yaml-1.2-spec-examples Tests: Remove ghost character from YAML spec example 9 years ago
__init__.py refactor: Remove UTF-8 headers in Python files 3 years ago
common.py tests: Increase test coverage 3 years ago
test_cli.py cli: Add --list-files command line option 2 years ago
test_config.py configuration: Allow using a list of strings in ignore configuration 2 years ago
test_linter.py Remove Unicode marker before strings 2 years ago
test_module.py refactor: Remove UTF-8 headers in Python files 3 years ago
test_parser.py refactor: Remove UTF-8 headers in Python files 3 years ago
test_spec_examples.py Apply some pyupgrade suggestions 2 years ago
test_syntax_errors.py refactor: Remove UTF-8 headers in Python files 3 years ago
test_yamllint_directives.py refactor: Remove UTF-8 headers in Python files 3 years ago