pycodestyle: fix issues
When calling pycodestyle directly on a file (vs the project as a
whole) it seems to be a bit more opinionated. Fix up these issues
so we can change how we call pycodestyle organization-wide.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If561fb1ec3036b5fd5a600969fb5d81274464db2
diff --git a/tools/github_issues_to_csv b/tools/github_issues_to_csv
index e1e0221..c287f7c 100644
--- a/tools/github_issues_to_csv
+++ b/tools/github_issues_to_csv
@@ -23,7 +23,7 @@
raise Exception(response.status_code)
for issue in response.json():
if 'pull_request' not in issue:
- labels = ', '.join([l['name'] for l in issue['labels']])
+ labels = ', '.join([lable['name'] for lable in issue['labels']])
# Below lines to overcome "TypeError: 'NoneType' object has
# no attribute '__getitem__'"