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.
Allow rules to declare a list of valid values for an option.
For example, a rule like:
CONF = {'allowed-values': list}
... allowed any value to be passed in the list (including bad ones).
It is now possible to declare:
CONF = {'allowed-values': ['value1', 'value2', 'value3']}
... so that the list passed to the options must contain only values in
`['value1', 'value2', 'value3']`.
|
6 years ago | |
|---|---|---|
| .. | ||
| rules | 6 years ago | |
| yaml-1.2-spec-examples | 10 years ago | |
| __init__.py | 9 years ago | |
| common.py | 7 years ago | |
| test_cli.py | 7 years ago | |
| test_config.py | 6 years ago | |
| test_linter.py | 7 years ago | |
| test_module.py | 7 years ago | |
| test_parser.py | 7 years ago | |
| test_spec_examples.py | 7 years ago | |
| test_syntax_errors.py | 10 years ago | |
| test_yamllint_directives.py | 9 years ago | |