From b2a4dd0f0ee0b6a923f24210c95a4f1d557db28c Mon Sep 17 00:00:00 2001 From: Roman Geraskin Date: Sat, 6 Aug 2022 21:16:11 +0300 Subject: [PATCH] quoted-strings: ignore useless allow-quoted-quotes --- yamllint/rules/quoted_strings.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/yamllint/rules/quoted_strings.py b/yamllint/rules/quoted_strings.py index 648b610..b15caf8 100644 --- a/yamllint/rules/quoted_strings.py +++ b/yamllint/rules/quoted_strings.py @@ -166,8 +166,6 @@ def VALIDATE(conf): return 'cannot use both "required: true" and "extra-required"' if conf['required'] is False and len(conf['extra-allowed']) > 0: 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'