[devscripts] 02/02: scripts/reproducible-check: Break long lines for flake8.

Chris Lamb chris at chris-lamb.co.uk
Thu Sep 21 07:42:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository devscripts.

commit 8308ed0a0d75ab3d9b8ebc968dd812fe79cdfff9
Author: Chris Lamb <lamby at debian.org>
Date:   Thu Sep 21 08:41:41 2017 +0100

    scripts/reproducible-check: Break long lines for flake8.
---
 scripts/reproducible-check | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/scripts/reproducible-check b/scripts/reproducible-check
index d6aeaa5..a7cf53d 100755
--- a/scripts/reproducible-check
+++ b/scripts/reproducible-check
@@ -38,7 +38,8 @@ class ReproducibleCheck(object):
     NAME = os.path.basename(__file__)
     VERSION = 1
 
-    STATUS_URL = 'https://tests.reproducible-builds.org/debian/reproducible-tracker.json.bz2'
+    STATUS_URL = 'https://tests.reproducible-builds.org/debian/' \
+        'reproducible-tracker.json.bz2'
 
     CACHE = os.path.join(xdg_cache_home, NAME, os.path.basename(STATUS_URL))
     CACHE_AGE_SECONDS = 86400
@@ -162,9 +163,12 @@ class ReproducibleCheck(object):
                 version,
                 binaries_fmt,
             ), end='')
-            print("<https://tests.reproducible-builds.org/debian/{}>".format(source))
+            print("<https://tests.reproducible-builds.org/debian/{}>".format(
+                source,
+            ))
 
-        print("{}/{} ({:.2f}%) of installed binary packages are unreproducible.".format(
+        x = "{}/{} ({:.2f}%) of installed binary packages are unreproducible."
+        print(x.format(
             num_unreproducible,
             num_installed,
             100. * num_unreproducible / num_installed,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list