Skip to content

Commit

Permalink
refactor: ♻️ Fix MyPy
Browse files Browse the repository at this point in the history
  • Loading branch information
robvanderleek committed Nov 30, 2024
1 parent ada28e6 commit dcc85cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codelimit/common/ScanTotals.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


class ScanTotals:
def __init__(self, language_totals: dict[str, LanguageTotals] = None) -> None:
def __init__(self, language_totals: dict[str, LanguageTotals] | None = None) -> None:
self._languages_totals: dict[str, LanguageTotals] = language_totals if language_totals else {}

def add(self, entry: SourceFileEntry):
Expand Down

0 comments on commit dcc85cb

Please sign in to comment.