From c3b05ae433c0163deddd744e31d6f15b3b0ab4b1 Mon Sep 17 00:00:00 2001 From: Roman Geraskin Date: Sat, 6 Aug 2022 21:44:02 +0300 Subject: [PATCH] quoted-strings: update allow-quoted-quotes docs make the docs more easily understandable: no need to specify `required: true` option --- yamllint/rules/quoted_strings.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/yamllint/rules/quoted_strings.py b/yamllint/rules/quoted_strings.py index b15caf8..ffeb164 100644 --- a/yamllint/rules/quoted_strings.py +++ b/yamllint/rules/quoted_strings.py @@ -116,8 +116,7 @@ used. - "localhost" - this is a string that needs to be QUOTED -#. With ``quoted-strings: {quote-type: double, required: true, - allow-quoted-quotes: false}`` +#. With ``quoted-strings: {quote-type: double, allow-quoted-quotes: false}`` the following code snippet would **PASS**: :: @@ -129,8 +128,7 @@ used. foo: 'bar"baz' -#. With ``quoted-strings: {quote-type: double, required: true, - allow-quoted-quotes: true}`` +#. With ``quoted-strings: {quote-type: double, allow-quoted-quotes: true}`` the following code snippet would **PASS**: ::