Fix `total_changes_by_rule` type annotation

This commit is contained in:
Zanie 2023-10-27 12:22:25 -05:00
parent e304d46637
commit 8441db69ae
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ class RuleChanges:
def total_removed_fixes(self) -> int: def total_removed_fixes(self) -> int:
return sum(self.removed_fixes.values()) return sum(self.removed_fixes.values())
def total_changes_by_rule(self) -> Iterator[str, int]: def total_changes_by_rule(self) -> Iterator[tuple[str, int]]:
""" """
Yields the sum of changes for each rule Yields the sum of changes for each rule
""" """