Skip to content

Commit 408b5a5

Browse files
committed
Defining a global to avoid flake8 warning. RE:#107
1 parent 9703bad commit 408b5a5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_task.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,7 @@ def _append_val(path, *val):
873873
def test_unix_path_repeated_function(self):
874874
"""TaskGraph: ensure no reruns if path is unix style."""
875875
global _append_val
876+
_append_val = _append_val # flake8 complains if not defined
876877

877878
task_graph = taskgraph.TaskGraph(self.workspace_dir, -1)
878879
target_dir = self.workspace_dir + '/foo/bar/rad/'

0 commit comments

Comments
 (0)