Fix two CI code formatting errors

The CI reports the following two errors:
* typing.Any unused in tof-voters/libvoters/subcmd/analyzer-commits.py
* the "function" keyword in prepare-emmc-qemu is not needed

Fixing as suggested by the CI.

Tested: Ran the CI locally, the CI passes.

Signed-off-By: Sui Chen <suichen6@gmail.com>
Change-Id: Idbd3c47895c6ec6f923ede264264006ffc08e2f7
diff --git a/prepare-emmc-qemu/prepare-emmc-qemu b/prepare-emmc-qemu/prepare-emmc-qemu
index 8859847..fd2b14f 100755
--- a/prepare-emmc-qemu/prepare-emmc-qemu
+++ b/prepare-emmc-qemu/prepare-emmc-qemu
@@ -2,7 +2,7 @@
 
 set -eu
 
-function print_help() {
+print_help() {
     script_name=$(basename $0)
     echo NAME
     echo '\t'$script_name: Assemble an OpenBMC eMMC image that can be booted under QEMU
@@ -19,7 +19,7 @@
     echo '\t'$script_name 'p10bmc' '~/src/openbmc/openbmc/build/p10bmc'
 }
 
-function detect_xzdec() {
+detect_xzdec() {
     if command -v xz >/dev/null
     then
         echo xz -dc
diff --git a/tof-voters/libvoters/subcmd/analyze-commits.py b/tof-voters/libvoters/subcmd/analyze-commits.py
index 4939a0b..ea92ed1 100644
--- a/tof-voters/libvoters/subcmd/analyze-commits.py
+++ b/tof-voters/libvoters/subcmd/analyze-commits.py
@@ -5,7 +5,7 @@
 import os
 import re
 from collections import defaultdict
-from typing import Any, Dict
+from typing import Dict
 
 import libvoters.acceptable as acceptable
 from libvoters.time import TimeOfDay, timestamp