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 Sep 30, 2023
1 parent 78722fc commit 686a4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codespell_lib/_codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ def parse_file(

if options.write_changes and fix:
changed = True
lines[i] = re.sub(fr"\b{word}\b", fixword, lines[i])
lines[i] = re.sub(rf"\b{word}\b", fixword, lines[i])
fixed_words.add(word)
continue

Expand Down

0 comments on commit 686a4af

Please sign in to comment.