Add docstrings for formatting

This commit is contained in:
Zanie 2023-10-27 12:49:29 -05:00
parent c3354ad843
commit 1337c4ad2a
2 changed files with 6 additions and 0 deletions

View File

@ -50,6 +50,9 @@ GITHUB_MAX_COMMENT_LENGTH = 65536 # characters
def markdown_check_result(result: Result) -> str:
"""
Render a `ruff check` ecosystem check result as markdown.
"""
# Calculate the total number of rule changes
all_rule_changes = RuleChanges()
project_diffs = {

View File

@ -22,6 +22,9 @@ if TYPE_CHECKING:
def markdown_format_result(result: Result) -> str:
"""
Render a `ruff format` ecosystem check result as markdown.
"""
lines = []
total_lines_removed = total_lines_added = 0
total_files_modified = 0