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/yamllint
Ondrej Vaško 4ef7e05f3a truthy: Add allowed-values configuration option
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>
6 years ago
..
conf config: Do not require all rule options to be set 7 years ago
rules truthy: Add allowed-values configuration option 6 years ago
__init__.py yamllint version 1.15.0 6 years ago
__main__.py Add __main__ 8 years ago
cli.py Sort import orders 6 years ago
config.py config: Do not require all rule options to be set 7 years ago
linter.py Upgrade Python syntax with pyupgrade 7 years ago
parser.py fix(parser): Correctly handle DOS new lines in 'line' rules 6 years ago