Skip to content

Commit

Permalink
Dead code found by vulture
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Oct 17, 2022
1 parent b12afc5 commit 5572b9a
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 @@ -237,7 +237,7 @@ class NewlineHelpFormatter(argparse.HelpFormatter):
def _split_lines(self, text, width):
parts = text.split('\n')
out = list()
for pi, part in enumerate(parts):
for part in parts:
# Eventually we could allow others...
indent_start = '- '
if part.startswith(indent_start):
Expand Down

0 comments on commit 5572b9a

Please sign in to comment.