Skip to content

Commit 7e9ff62

Browse files
authored
flake8: fix ambiguous var names (#3674)
1 parent a8b7e33 commit 7e9ff62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dvc/dagascii.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def __init__(self, cols, lines):
9595
self.cols = cols
9696
self.lines = lines
9797

98-
self.canvas = [[" "] * cols for l in range(lines)]
98+
self.canvas = [[" "] * cols for line in range(lines)]
9999

100100
def draw(self):
101101
"""Draws ASCII canvas on the screen."""

tests/func/test_repro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1555,7 +1555,7 @@ def test_dvc_formatting_retained(tmp_dir, dvc, run_copy):
15551555
# Add comments and custom formatting to DVC-file
15561556
lines = list(map(_format_dvc_line, stage_path.read_text().splitlines()))
15571557
lines.insert(0, "# Starting comment")
1558-
stage_text = "".join(l + "\n" for l in lines)
1558+
stage_text = "".join(line + "\n" for line in lines)
15591559
stage_path.write_text(stage_text)
15601560

15611561
# Rewrite data source and repro

0 commit comments

Comments
 (0)