Yuvipanda has submitted this change and it was merged. Change subject: Fix flake8 whitespace errors ......................................................................
Fix flake8 whitespace errors Also set max_line_length to 120 because I have a wide screen Change-Id: Iebc98fb45e5f6d06009440b864bcfaff198dea42 --- M nightly.py M tox.ini 2 files changed, 4 insertions(+), 3 deletions(-) Approvals: Yuvipanda: Verified; Looks good to me, approved diff --git a/nightly.py b/nightly.py index beb66c7..ace8b65 100644 --- a/nightly.py +++ b/nightly.py @@ -150,7 +150,7 @@ pass for branch in get_supported_branches(): os.chdir(full_path) - logging.info('Creating %s for %s' %(branch, ext)) + logging.info('Creating %s for %s' % (branch, ext)) # Update remotes shell_exec(['git', 'fetch']) try: @@ -174,10 +174,10 @@ continue # Create a 'version' file with basic info about the tarball with open('version', 'w') as f: - f.write('%s: %s\n' %(ext, branch)) + f.write('%s: %s\n' % (ext, branch)) f.write(shell_exec(['date', '+%Y-%m-%dT%H:%M:%S']) + '\n') # TODO: Do this in python f.write(rev + '\n') - old_tarballs = glob.glob(os.path.join(conf.DIST_PATH, '%s-%s-*.tar.gz' %(ext, branch))) + old_tarballs = glob.glob(os.path.join(conf.DIST_PATH, '%s-%s-*.tar.gz' % (ext, branch))) logging.debug('Deleting old tarballs...') for old in old_tarballs: # FIXME: Race condition, we should probably do this later on... diff --git a/tox.ini b/tox.ini index b376392..f05cb65 100644 --- a/tox.ini +++ b/tox.ini @@ -15,3 +15,4 @@ [flake8] exclude = .tox +max_line_length = 120 -- To view, visit https://gerrit.wikimedia.org/r/149824 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iebc98fb45e5f6d06009440b864bcfaff198dea42 Gerrit-PatchSet: 1 Gerrit-Project: labs/tools/extdist Gerrit-Branch: master Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: Yuvipanda <yuvipa...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits