Formatted python files to follow PEP 8 python code standards.
- Changed the python files in the openbmc-test-automation
directory to conform to python code style standards with
the exception of E402 and E501.
- Resolves openbmc/openbmc-test-automation#1308
Change-Id: I109995c2d248f5a6bb2c0e3c76a6144c8f3aac2e
Signed-off-by: Joy Onyerikwu <onyekachukwu.joy.onyerikwu@ibm.com>
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/tools/github_issues_to_csv b/tools/github_issues_to_csv
index 224bad2..c432772 100644
--- a/tools/github_issues_to_csv
+++ b/tools/github_issues_to_csv
@@ -66,11 +66,11 @@
# Multiple requests are required if response is paged
if 'link' in response.headers:
- pages = {rel[6:-1]: url[url.index('<')+1:-1] for url, rel in
+ pages = {rel[6:-1]: url[url.index('<') + 1:-1] for url, rel in
(link.split(';') for link in
response.headers['link'].split(','))}
while 'last' in pages and 'next' in pages:
- pages = {rel[6:-1]: url[url.index('<')+1:-1] for url, rel in
+ pages = {rel[6:-1]: url[url.index('<') + 1:-1] for url, rel in
(link.split(';') for link in
response.headers['link'].split(','))}
response = requests.get(pages['next'], auth=auth)
@@ -106,8 +106,8 @@
csvfilename = ""
for repository in args.repositories:
csvfilename_temp = '{}'.format(repository.replace('/', '-'))
- csvfilename = csvfilename+csvfilename_temp
-csvfilename = csvfilename+'-issues.csv'
+ csvfilename = csvfilename + csvfilename_temp
+csvfilename = csvfilename + '-issues.csv'
with open(csvfilename, 'wb') as csvfileout:
csv_out = csv.writer(csvfileout)
csv_out.writerow(['Labels', 'Title', 'State', 'Open Date',