Skip to content

Commit

Permalink
flake8: fix ambiguous var names (iterative#3674)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrowla authored Apr 24, 2020
1 parent a8b7e33 commit 7e9ff62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dvc/dagascii.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def __init__(self, cols, lines):
self.cols = cols
self.lines = lines

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

def draw(self):
"""Draws ASCII canvas on the screen."""
Expand Down
2 changes: 1 addition & 1 deletion tests/func/test_repro.py
Original file line number Diff line number Diff line change
Expand Up @@ -1555,7 +1555,7 @@ def test_dvc_formatting_retained(tmp_dir, dvc, run_copy):
# Add comments and custom formatting to DVC-file
lines = list(map(_format_dvc_line, stage_path.read_text().splitlines()))
lines.insert(0, "# Starting comment")
stage_text = "".join(l + "\n" for l in lines)
stage_text = "".join(line + "\n" for line in lines)
stage_path.write_text(stage_text)

# Rewrite data source and repro
Expand Down

0 comments on commit 7e9ff62

Please sign in to comment.