From 5572b9aca6033ee799b10b01158614d98455c239 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Fri, 8 Oct 2021 00:44:28 +0200 Subject: [PATCH] Dead code found by vulture --- codespell_lib/_codespell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py index dd2c21f1fd..ff15524584 100644 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -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):