Skip to content

Commit 66e1074

Browse files
committed
Flake8 fix
1 parent 837968d commit 66e1074

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

comment_spell_check/comment_spell_check.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ def filter_string(input_str: str):
158158

159159

160160
def spell_check_words(spell_checker: SpellChecker, words: list[str]):
161-
"""Check each word and report False if at least one has an spelling error."""
161+
"""Check each word and report False if at least one has an spelling
162+
error."""
162163
for word in words:
163164
if not (word in spell_checker or word.lower() in spell_checker):
164165
return False
@@ -187,7 +188,7 @@ def remove_contractions(word: str, verbose: bool = False):
187188
if word.endswith(contraction):
188189
print(
189190
(
190-
f" Stripping contraction: {word} -> {word[: -len(contraction)]}\n"
191+
f" Contraction: {word} -> {word[: -len(contraction)]}\n"
191192
if verbose
192193
else ""
193194
),
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)