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/README.md b/tof-voters/README.md
index 10cd873..1d733cc 100644
--- a/tof-voters/README.md
+++ b/tof-voters/README.md
@@ -1,11 +1,15 @@
+# tof-voters
+
 This tool is used for determining who is qualified for voting in a TOF election,
-based on the [requirements](https://github.com/openbmc/docs/blob/master/tof/membership-and-voting.md#metrics)
+based on the
+[requirements](https://github.com/openbmc/docs/blob/master/tof/membership-and-voting.md#metrics)
 set out by the TOF.
 
 The tool will query Gerrit for commits and reviews, process them, and generate a
 report of qualified individuals.
 
 The typical use of the tool is something like this:
+
 ```sh
 ./voters dump-gerrit --after=2021-06-30
 ./voters analyze-commits --before "2022-01-01" --after "2021-06-30"
@@ -17,6 +21,7 @@
 
 The above will yield a JSON dictionary of "users:points" where 'qualified' is
 set in the users' dictionary from `report.json` like:
+
 ```json
 {
     "user1": 16,
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):