Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from Travis to GitHub Actions #1526

Merged
merged 18 commits into from
Jul 10, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix some python linter errors
crankyoldgit committed Jul 7, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 5a910e90ef28e208daf1005584a4febfbe96f910
5 changes: 3 additions & 2 deletions tools/auto_analyse_raw_data.py
Original file line number Diff line number Diff line change
@@ -303,9 +303,10 @@ def convert_rawdata(data_str):
for timing in [x.strip() for x in data_str.split(',')]:
try:
results.append(int(timing))
except ValueError:
except ValueError as non_numeric:
raise ValueError(
"Raw Data contains a non-numeric value of '%s'." % timing)
"Raw Data contains a non-numeric value of '%s'." %
timing) from non_numeric
return results


2 changes: 1 addition & 1 deletion tools/scrape_supported_devices.py
Original file line number Diff line number Diff line change
@@ -93,7 +93,7 @@ def getallacs():
match = IRSEND_FN_RE.match(path.name)
if match:
rawmodels = getenums(path)
for acprotocol in rawmodels:
for acprotocol in rawmodels.keys():
models = set()
for model in rawmodels[acprotocol]:
model = model.upper()