diff --git a/python/ruff-ecosystem/ruff_ecosystem/check.py b/python/ruff-ecosystem/ruff_ecosystem/check.py index 617514d1a0..ada0c92369 100644 --- a/python/ruff-ecosystem/ruff_ecosystem/check.py +++ b/python/ruff-ecosystem/ruff_ecosystem/check.py @@ -166,7 +166,7 @@ def add_permalink_to_diagnostic_line(repo: ClonedRepository, line: str) -> str: async def ruff_check( *, executable: Path, path: Path, name: str, options: CheckOptions -) -> tuple[str, Sequence[str]]: +) -> Sequence[str]: """Run the given ruff binary against the specified path.""" logger.debug(f"Checking {name} with {executable}") ruff_args = options.to_cli_args() diff --git a/python/ruff-ecosystem/ruff_ecosystem/markdown.py b/python/ruff-ecosystem/ruff_ecosystem/markdown.py index e1094c8595..9d1c765fa6 100644 --- a/python/ruff-ecosystem/ruff_ecosystem/markdown.py +++ b/python/ruff-ecosystem/ruff_ecosystem/markdown.py @@ -11,7 +11,7 @@ def markdown_project_section( ) -> list[str]: return markdown_details( summary=f'{project.repo.fullname} ({title})', - preface="`ruff " + " ".join(options.to_cli_args()) + "`", + preface="
ruff " + " ".join(options.to_cli_args()) + "", content=content, ) @@ -19,7 +19,9 @@ def markdown_project_section( def markdown_details(summary: str, preface: str, content: str | list[str]): lines = [] lines.append(f"
") lines.append(preface) + lines.append("
") lines.append("") lines.append("")