python scripts: isort & black pass

This commit is contained in:
Geoffrey Frogeye 2023-11-23 22:59:09 +01:00
parent 58b4fbcdf0
commit ca4c74e236
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
18 changed files with 47 additions and 42 deletions

View file

@ -1,18 +1,19 @@
#!/usr/bin/env python3
import datetime
import hashlib
import json
import logging
import os
import shutil
import statistics
import subprocess
import sys
import logging
import tempfile
import time
import coloredlogs
import progressbar
import time
import hashlib
import tempfile
import json
import statistics
import datetime
coloredlogs.install(level="DEBUG", fmt="%(levelname)s %(message)s")
log = logging.getLogger()
@ -161,6 +162,7 @@ log.info(
)
)
# From https://stackoverflow.com/a/3431838
def sha256(fname):
hash_sha256 = hashlib.sha256()