mirror of
https://github.com/adrienverge/yamllint.git
synced 2024-11-26 01:20:15 -06:00
4ef7e05f3a
Allows using key `allowed-values` for `truthy` section in configuration file (#150). This allows to use configuration `truthy: allowed-values: ["yes", "no", "..."]`, to set custom allowed truthy values. This is especially useful for people using ansible, where values like `yes` or `no` are valid and officially supported, but yamllint reports them as illegal. Implemented by difference of set of TRUTHY constants and configured allowed values. Signed-off-by: Ondrej Vasko <ondrej.vaskoo@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_braces.py | ||
test_brackets.py | ||
test_colons.py | ||
test_commas.py | ||
test_comments_indentation.py | ||
test_comments.py | ||
test_common.py | ||
test_document_end.py | ||
test_document_start.py | ||
test_empty_lines.py | ||
test_empty_values.py | ||
test_hyphens.py | ||
test_indentation.py | ||
test_key_duplicates.py | ||
test_key_ordering.py | ||
test_line_length.py | ||
test_new_line_at_end_of_file.py | ||
test_new_lines.py | ||
test_octal_values.py | ||
test_quoted_strings.py | ||
test_trailing_spaces.py | ||
test_truthy.py |