treewide: lint and format
Run all the latest linters and formatters from openbmc-build-scripts.
These were all robotically generated except for fixes due to
markdownlint warnings.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If16d2fd802a2d452234d8b56b41e79d030138a6b
diff --git a/tof-voters/libvoters/subcmd/analyze-reviews.py b/tof-voters/libvoters/subcmd/analyze-reviews.py
index b3323fa..d5ccade 100644
--- a/tof-voters/libvoters/subcmd/analyze-reviews.py
+++ b/tof-voters/libvoters/subcmd/analyze-reviews.py
@@ -78,7 +78,7 @@
comments_per_user[reviewer] += 1
print(project, id_number)
- for (user, count) in comments_per_user.items():
+ for user, count in comments_per_user.items():
if count < 3:
continue
print(" ", user, count)
diff --git a/tof-voters/libvoters/subcmd/dump-gerrit.py b/tof-voters/libvoters/subcmd/dump-gerrit.py
index 455f0e6..a934523 100644
--- a/tof-voters/libvoters/subcmd/dump-gerrit.py
+++ b/tof-voters/libvoters/subcmd/dump-gerrit.py
@@ -3,6 +3,7 @@
import argparse
import json
import os
+
from sh import ssh # type: ignore
diff --git a/tof-voters/libvoters/time.py b/tof-voters/libvoters/time.py
index efcee29..6139fd5 100644
--- a/tof-voters/libvoters/time.py
+++ b/tof-voters/libvoters/time.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
-from enum import Enum
from datetime import datetime, timezone
+from enum import Enum
class TimeOfDay(Enum):