Skip to content

Commit

Permalink
Remove unused attribute Misspelling.fixword
Browse files Browse the repository at this point in the history
Unused since 1f6deb0.

Discovered using mypy https://mypy.readthedocs.io/
  • Loading branch information
jdufresne authored and DimitriPapadopoulos committed Oct 31, 2022
1 parent 16aa023 commit 2461abc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion codespell_lib/_codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,6 @@ def ask_for_word_fix(line, wrongword, misspelling, interactivity):

if r == 'N':
misspelling.fix = False
misspelling.fixword = ''

elif (interactivity & 2) and not misspelling.reason:
# if it is not disabled, i.e. it just has more than one possible fix,
Expand Down

0 comments on commit 2461abc

Please sign in to comment.