Skip to content

Commit

Permalink
Fix ruff lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
int-y1 authored and DimitriPapadopoulos committed Aug 9, 2023
1 parent c5febe6 commit 9743f71
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions codespell_lib/_codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,7 @@ def __str__(self) -> str:
keys.sort()

return "\n".join(
[
"{0}{1:{width}}".format(key, self.summary.get(key), width=15 - len(key))
for key in keys
]
[f"{key}{self.summary.get(key):{15 - len(key)}}" for key in keys]
)


Expand Down

0 comments on commit 9743f71

Please sign in to comment.