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
Adrien Vergé fa87913566 quoted-strings: Fix only-when-needed on corner cases
Change implementation of `required: only-when-needed`, because
maintaining a list of `START_TOKENS` and just looking at the first
character of string values has proven to be partially broken.

Cf. discussion at
https://github.com/adrienverge/yamllint/pull/246#issuecomment-612354097.

Fixes https://github.com/adrienverge/yamllint/issues/242 and
https://github.com/adrienverge/yamllint/pull/244.
5 years ago
..
rules quoted-strings: Fix only-when-needed on corner cases 5 years ago
yaml-1.2-spec-examples Tests: Remove ghost character from YAML spec example 9 years ago
__init__.py Tests: Run with LC_ALL=C for uniform tests 9 years ago
common.py Drop support for EOL Python 2.6 6 years ago
test_cli.py Fix new-lines rule on Python 3 5 years ago
test_config.py feat: Lint .yamllint by default 5 years ago
test_linter.py Drop support for EOL Python 2.6 6 years ago
test_module.py Drop support for EOL Python 2.6 6 years ago
test_parser.py Upgrade unit tests to use more useful asserts 6 years ago
test_spec_examples.py Remove redundant parentheses 6 years ago
test_syntax_errors.py Rules: indentation: Handle sets 9 years ago
test_yamllint_directives.py Allow disabling all checks for a file 5 years ago