Fix flake8 whitespace reports

$ flake8 | grep -E '(E203|E221|E226|E303|W291|W293)'
./mesonbuild/build.py:964:5: E303 too many blank lines (2)
./tools/dircondenser.py:70:36: E221 multiple spaces before operator
pull/4176/head
Jon Turney 7 years ago committed by Jussi Pakkanen
parent 6a46ce4845
commit b338add554
  1. 1
      mesonbuild/build.py
  2. 2
      tools/dircondenser.py

@ -960,7 +960,6 @@ You probably should put it in link_with instead.''')
raise InvalidArguments('Tried to mix cross built and native libraries in target {!r}'.format(self.name))
self.link_targets.append(t)
def link_whole(self, target):
for t in listify(target, unholder=True):
if not isinstance(t, StaticLibrary):

@ -67,7 +67,7 @@ def condense(dirname):
i = _i + 1
if e[0] != i:
old_name = str(e[0]) + ' ' + e[1]
new_name = str(i) + ' ' + e[1]
new_name = str(i) + ' ' + e[1]
#print('git mv "%s" "%s"' % (old_name, new_name))
subprocess.check_call(['git', 'mv', old_name, new_name])
replacements.append((old_name, new_name))

Loading…
Cancel
Save