Skip to content

Commit 3c105a4

Browse files
Update pylint/checkers/spelling.py
Co-authored-by: Pierre Sassoulas <[email protected]>
1 parent c6e7d16 commit 3c105a4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pylint/checkers/spelling.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,8 @@ def _next(self):
182182
def _strip_code_flanked_in_backticks(line: str) -> str:
183183
"""Alter line so code flanked in backticks is ignored.
184184
185-
Pyenchant automatically strips backticks when parsing tokens, so this cannot be done at the individual filter level.
186-
187-
"""
185+
Pyenchant automatically strips backticks when parsing tokens,
186+
so this cannot be done at the individual filter level."""
188187

189188
def replace_code_but_leave_surrounding_characters(match_obj) -> str:
190189
return match_obj.group(1) + match_obj.group(5)

0 commit comments

Comments
 (0)