mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:24:57 +00:00
Fix up some types in the ecosystem code (#8898)
## Summary
Fixes up the type annotations to make type analyzers a little happier 😄
## Test Plan
N/A
This commit is contained in:
parent
ee5d95f751
commit
3ee1ec70cc
6 changed files with 17 additions and 14 deletions
|
@ -63,7 +63,7 @@ def markdown_check_result(result: Result) -> str:
|
|||
project_rule_changes[project] = changes = RuleChanges.from_diff(diff)
|
||||
all_rule_changes.update(changes)
|
||||
|
||||
lines = []
|
||||
lines: list[str] = []
|
||||
total_removed = all_rule_changes.total_removed_violations()
|
||||
total_added = all_rule_changes.total_added_violations()
|
||||
total_added_fixes = all_rule_changes.total_added_fixes()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue