Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3c65e5b

Browse files
Dead code found by vulture
1 parent bdcf7a6 commit 3c65e5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codespell_lib/_codespell.py

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

0 commit comments

Comments
 (0)