1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

PEP8 fix E225 missing whitespace around operator

This commit is contained in:
Hans-Christoph Steiner 2016-02-15 20:22:17 +01:00
parent 46d754416d
commit a28ede2b67
2 changed files with 3 additions and 3 deletions

View File

@ -523,7 +523,7 @@ def build_local(app, build, vcs, build_dir, output_dir, srclib_dir, extlib_dir,
cmd = [config['gradle']]
if build.gradleprops:
cmd += ['-P'+kv for kv in build.gradleprops]
cmd += ['-P' + kv for kv in build.gradleprops]
cmd += ['clean']
@ -731,7 +731,7 @@ def build_local(app, build, vcs, build_dir, output_dir, srclib_dir, extlib_dir,
cmd = [config['gradle']]
if build.gradleprops:
cmd += ['-P'+kv for kv in build.gradleprops]
cmd += ['-P' + kv for kv in build.gradleprops]
cmd += gradletasks

View File

@ -211,7 +211,7 @@ def scan_source(build_dir, root_dir, build):
for i, line in enumerate(lines):
if is_used_by_gradle(line):
for name in suspects_found(line):
count += handleproblem('usual supect \'%s\' at line %d' % (name, i+1), fd, fp)
count += handleproblem('usual supect \'%s\' at line %d' % (name, i + 1), fd, fp)
noncomment_lines = [l for l in lines if not common.gradle_comment.match(l)]
joined = re.sub(r'[\n\r\s]+', ' ', ' '.join(noncomment_lines))
for m in gradle_mavenrepo.finditer(joined):