flake8: follow all F rules

This commit is contained in:
Yuming Zhu 2020-02-25 20:58:28 +08:00
parent 7b4c7aa3d1
commit 642508ccf6
10 changed files with 37 additions and 41 deletions

View file

@ -398,7 +398,7 @@ class SCM(object):
def _run(cmd, chdir=None, fatal=False, log=True, _count=[0]):
if globals().get('KOJIKAMID'):
#we've been inserted into kojikamid, use its run()
return run(cmd, chdir=chdir, fatal=fatal, log=log)
return run(cmd, chdir=chdir, fatal=fatal, log=log) # noqa: F821
else:
append = (_count[0] > 0)
_count[0] += 1