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
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
..
conf fix(default.yaml): disable `empty-values` & `octal-values` by default 6 years ago
rules quoted-strings: Fix only-when-needed on corner cases 5 years ago
__init__.py yamllint version 1.22.0 5 years ago
__main__.py Add __main__ 8 years ago
cli.py Fix new-lines rule on Python 3 5 years ago
config.py feat: Lint .yamllint by default 6 years ago
linter.py Use 'syntax' as rule name upon syntax errors 6 years ago
parser.py fix(parser): Correctly handle DOS new lines in 'line' rules 6 years ago