Common: Reduce excessive line lenght

This commit is contained in:
Monika Kairaityte
2020-03-05 21:29:31 +02:00
parent 97717cb2a5
commit a42cbe787e
2 changed files with 3 additions and 2 deletions

View File

@@ -30,7 +30,8 @@ def main():
r = r.json()
tag = r['name']
upload_url = r['upload_url'].split('{')[0]
assets = s.get("https://api.github.com/repos/buildbot/buildbot/releases/{id}/assets".format(id=r['id']))
assets = s.get(("https://api.github.com/repos/buildbot/buildbot/releases/{id}/assets"
).format(id=r['id']))
assets.raise_for_status()
assets = assets.json()
os.makedirs('dist', exist_ok=True)

View File

@@ -15,7 +15,7 @@ with open(os.path.expanduser('~/.config/hub')) as f:
s.auth = config['user'], config['oauth_token']
os.system("git fetch --all")
r = s.get("https://api.github.com/search/issues?q=label:\"port%20to%20stable\"+repo:buildbot/buildbot")
r = s.get("https://api.github.com/search/issues?q=label:\"port%20to%20stable\"+repo:buildbot/buildbot") # noqa pylint: disable=line-too-long
to_port = r.json()
summary = ""
for pr in to_port['items']: