Skip to content

Commit 5569f2c

Browse files
committed
Formatting.
1 parent ce39d17 commit 5569f2c

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

bot/exts/info/codeblock/_instructions.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""This module generates and formats instructional messages about fixing Markdown code blocks."""
22

3-
43
from bot.exts.info.codeblock import _parsing
54
from bot.log import get_logger
65

@@ -9,9 +8,9 @@
98
# Make sure to escape any Markdown symbols here.
109
_EXAMPLE_PY = "{lang}\nprint('Hello, world!')"
1110
_EXAMPLE_CODE_BLOCKS = (
12-
"\\`\\`\\`{content}\n\\`\\`\\`\n\n
13-
**This will result in the following:**\n
14-
```{content}```"
11+
"\\`\\`\\`{content}\n\\`\\`\\`\n\n"
12+
"**This will result in the following:**\n"
13+
"```{content}```"
1514
)
1615

1716

@@ -38,7 +37,7 @@ def _get_bad_ticks_message(code_block: _parsing.CodeBlock) -> str | None:
3837

3938
valid_ticks = f"\\{_parsing.BACKTICK}" * 3
4039
instructions = (
41-
f"You are using the wrong character instead of backticks. "
40+
"You are using the wrong character instead of backticks."
4241
f"Use {valid_ticks}, not `{code_block.ticks}`."
4342
)
4443

0 commit comments

Comments
 (0)