Skip to content

Commit

Permalink
chore: Ignore doc formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed May 7, 2023
1 parent bd81060 commit 40077f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/usage/configuration/signatures.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ plugins:
import markdown
import markupsafe


def convert(text: str, md: markdown.Markdown) -> markupsafe.Markup:
"""Convert text to Markdown.
Parameters:
text: The text to convert.
md: A Markdown instance.
Returns:
Converted markup.
"""
Expand Down
2 changes: 1 addition & 1 deletion duties.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def format(ctx: Context) -> None:
)
ctx.run(black.run(*PY_SRC_LIST, config="config/black.toml"), title="Formatting code")
ctx.run(
blacken_docs.run(*PY_SRC_LIST, "docs", exts=["py", "md"], line_length=120),
blacken_docs.run(*PY_SRC_LIST, "docs", exts=["py", "md"], line_length=120, skip_errors=True),
title="Formatting docs",
nofail=True,
)
Expand Down

0 comments on commit 40077f9

Please sign in to comment.