Improve rule table title
This commit is contained in:
@@ -145,8 +145,8 @@ def summarize_check_result(result: Result) -> str:
|
||||
|
||||
lines.extend(
|
||||
markdown_details(
|
||||
summary="Rule change summary",
|
||||
preface=f"{len(all_rule_changes.rule_codes())} rules changed",
|
||||
summary=f"Changes by rule ({len(all_rule_changes.rule_codes())} rules affected)",
|
||||
preface="",
|
||||
content=table_lines,
|
||||
)
|
||||
)
|
||||
|
||||
@@ -11,6 +11,7 @@ def markdown_project_section(
|
||||
) -> list[str]:
|
||||
return markdown_details(
|
||||
summary=f'<a href="{project.repo.url}">{project.repo.fullname}</a> ({title})',
|
||||
# Show the command used for the check
|
||||
preface="<pre>ruff " + " ".join(options.to_cli_args()) + "</pre>",
|
||||
content=content,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user