Skip to content

Commit baea460

Browse files
Dead code found by vulture (codespell-project#2101)
1 parent d7988f2 commit baea460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codespell_lib/_codespell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ class NewlineHelpFormatter(argparse.HelpFormatter):
237237
def _split_lines(self, text, width):
238238
parts = text.split('\n')
239239
out = list()
240-
for pi, part in enumerate(parts):
240+
for part in parts:
241241
# Eventually we could allow others...
242242
indent_start = '- '
243243
if part.startswith(indent_start):

0 commit comments

Comments
 (0)