mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-12 02:22:42 +03:00
[Fix] More MyPy Suppression
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -42,7 +42,7 @@ def get_changelog() -> tuple[str, str]:
|
||||
def build_html(md_changelog: str, version: str) -> str:
|
||||
"""Convert markdown changelog to HTML."""
|
||||
html_out = f"<h2>Release {version}</h2>\n"
|
||||
html_out += mistune.html(md_changelog)
|
||||
html_out += mistune.html(md_changelog) # type: ignore
|
||||
html_out = re.sub(r"h1", "h2", html_out) + "\n<hr>"
|
||||
|
||||
with open("script_output/html_changelog.txt", "w", encoding="utf-8") as html_file:
|
||||
|
||||
Reference in new issue
Block a user