diff --git a/docs/usage/configuration/signatures.md b/docs/usage/configuration/signatures.md index 822c8f6d..9d978fb5 100644 --- a/docs/usage/configuration/signatures.md +++ b/docs/usage/configuration/signatures.md @@ -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. """ diff --git a/duties.py b/duties.py index a4eba4a7..9b93ca81 100644 --- a/duties.py +++ b/duties.py @@ -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, )