From 7e9f77a7c0d7868c8dffc6ea3e3d39393d171f14 Mon Sep 17 00:00:00 2001 From: Nick Guenther Date: Fri, 21 Jun 2024 07:16:12 -0400 Subject: [PATCH] Fixup YAML utils comment (#4226) --- src/ansiblelint/yaml_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansiblelint/yaml_utils.py b/src/ansiblelint/yaml_utils.py index 9f15f91fc5..a1b963dea5 100644 --- a/src/ansiblelint/yaml_utils.py +++ b/src/ansiblelint/yaml_utils.py @@ -644,7 +644,7 @@ def choose_scalar_style(self) -> Any: ): # We have an as-yet unquoted token that starts with "0" (but is not itself the digit 0). # It could be: - # - hexadecimal like "0xF1" or ; comes tagged as int. Should continue unquoted to continue as an int. + # - hexadecimal like "0xF1"; comes tagged as int. Should continue unquoted to continue as an int. # - octal like "0666" or "0o755"; comes tagged as str. **Should** be quoted to be cross-YAML compatible. # - string like "0.0.0.0" and "00-header". Should not be quoted, unless it has a quote in it. if (