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 Nov 3, 2023
1 parent ffcc3f8 commit 360880a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions codespell_lib/_codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@ def filename_to_skip(filename: str, glob_match: GlobMatch) -> bool:
head, tail = os.path.split(head)
return False


def fix_case(word: str, fixword: str) -> str:
if word == word.capitalize():
return ", ".join(w.strip().capitalize() for w in fixword.split(","))
Expand Down

0 comments on commit 360880a

Please sign in to comment.