Skip to content

Commit 2d53473

Browse files
committed
Correct a flake8 concern
django_coverage_plugin/plugin.py:390:32: E741 ambiguous variable name 'l'
1 parent 09fb410 commit 2d53473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_coverage_plugin/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def running_sum(seq):
387387

388388

389389
def make_line_map(text):
390-
line_lengths = [len(l) for l in text.splitlines(True)]
390+
line_lengths = [len(line) for line in text.splitlines(True)]
391391
line_map = list(running_sum(line_lengths))
392392
return line_map
393393

0 commit comments

Comments
 (0)