Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 28, 2023
1 parent c8a6d54 commit 98fc705
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions codespell_lib/_codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@
)
# Pass all misspellings through this translation table to catch
# alternative misspellings.
alt_chars = (
("'", "’"),
)
alt_chars = (("'", "’"),)
_alt_char_trans_tables = (str.maketrans(x, y) for x, y in alt_chars)
encodings = ("utf-8", "iso-8859-1")
USAGE = """
Expand Down

0 comments on commit 98fc705

Please sign in to comment.