Skip to content

Commit 8dea47a

Browse files
authored
Update mkdocs unformatted example error message (astral-sh#4312)
1 parent d3b71f1 commit 8dea47a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/check_docs_formatted.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ def format_file(
103103
if contents != new_contents:
104104
rule_name = file.name.split(".")[0]
105105
print(
106-
f"Rule `{rule_name}` docs are not formatted. This section should be "
107-
f"rewritten to:",
106+
f"Rule `{rule_name}` docs are not formatted. The example section "
107+
f"should be rewritten to:",
108108
)
109109

110110
# Add indentation so that snipped can be copied directly to docs

0 commit comments

Comments
 (0)