diff --git a/scripts/check_docs_formatted.py b/scripts/check_docs_formatted.py index 9934af74b8..49c7741aa4 100755 --- a/scripts/check_docs_formatted.py +++ b/scripts/check_docs_formatted.py @@ -103,8 +103,8 @@ def format_file( if contents != new_contents: rule_name = file.name.split(".")[0] print( - f"Rule `{rule_name}` docs are not formatted. This section should be " - f"rewritten to:", + f"Rule `{rule_name}` docs are not formatted. The example section " + f"should be rewritten to:", ) # Add indentation so that snipped can be copied directly to docs