From 4995121a58359021145fe03a40e7de5945a53c73 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 23 Oct 2022 18:28:37 -0700 Subject: [PATCH] Remove unused attribute Misspelling.fixword Unused since 1f6deb0da37f282bec67ca4eec214bf48e0209dd. Discovered using mypy https://mypy.readthedocs.io/ --- codespell_lib/_codespell.py | 1 - 1 file changed, 1 deletion(-) diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py index df55894980..8407947324 100644 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -540,7 +540,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,