From e079a279f4be68e45d47c2d424df6f314616ab5c Mon Sep 17 00:00:00 2001 From: nicoo Date: Fri, 13 Sep 2024 08:25:54 +0000 Subject: [PATCH] maintainers/scripts/sha-to-sri: drop unused imports --- maintainers/scripts/sha-to-sri.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maintainers/scripts/sha-to-sri.py b/maintainers/scripts/sha-to-sri.py index 35ce2ca3389a..e31091242341 100755 --- a/maintainers/scripts/sha-to-sri.py +++ b/maintainers/scripts/sha-to-sri.py @@ -1,7 +1,7 @@ #!/usr/bin/env nix-shell #! nix-shell -i "python3 -I" -p "python3.withPackages(p: with p; [ rich structlog ])" -from abc import ABC, abstractclassmethod, abstractmethod +from abc import ABC, abstractmethod from contextlib import contextmanager from pathlib import Path from structlog.contextvars import bound_contextvars as log_context @@ -204,7 +204,7 @@ def fileToSRI(p: Path): _SKIP_RE = re.compile("(generated by)|(do not edit)", re.IGNORECASE) if __name__ == "__main__": - from sys import argv, stderr + from sys import argv logger.info("Starting!")