mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 10:48:32 +00:00
Update mkdocs
unformatted example error message (#4312)
This commit is contained in:
parent
d3b71f1e04
commit
8dea47afc1
1 changed files with 2 additions and 2 deletions
|
@ -103,8 +103,8 @@ def format_file(
|
||||||
if contents != new_contents:
|
if contents != new_contents:
|
||||||
rule_name = file.name.split(".")[0]
|
rule_name = file.name.split(".")[0]
|
||||||
print(
|
print(
|
||||||
f"Rule `{rule_name}` docs are not formatted. This section should be "
|
f"Rule `{rule_name}` docs are not formatted. The example section "
|
||||||
f"rewritten to:",
|
f"should be rewritten to:",
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add indentation so that snipped can be copied directly to docs
|
# Add indentation so that snipped can be copied directly to docs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue