quoted-strings: ignore useless allow-quoted-quotes

pull/487/head
Roman Geraskin 3 years ago
parent 468b8a22bc
commit b2a4dd0f0e

@ -166,8 +166,6 @@ def VALIDATE(conf):
return 'cannot use both "required: true" and "extra-required"' return 'cannot use both "required: true" and "extra-required"'
if conf['required'] is False and len(conf['extra-allowed']) > 0: if conf['required'] is False and len(conf['extra-allowed']) > 0:
return 'cannot use both "required: false" and "extra-allowed"' return 'cannot use both "required: false" and "extra-allowed"'
if conf['allow-quoted-quotes'] is True and conf['quote-type'] == 'any':
return '"allow-quoted-quotes" has no effect with "quote-type: any"'
DEFAULT_SCALAR_TAG = u'tag:yaml.org,2002:str' DEFAULT_SCALAR_TAG = u'tag:yaml.org,2002:str'

Loading…
Cancel
Save