From f9d704bf16d57596ac74e2538367a9134711bb97 Mon Sep 17 00:00:00 2001 From: Niko Strijbol Date: Wed, 21 Feb 2024 11:54:29 +0100 Subject: [PATCH] Apply formatting --- tested/cli.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tested/cli.py b/tested/cli.py index 76c20c07..76c9c48e 100644 --- a/tested/cli.py +++ b/tested/cli.py @@ -135,19 +135,19 @@ def find_status_enum(self) -> list[str]: "-f", "--full", action="store_true", - help="If the output should be shown in full (default: false)" + help="If the output should be shown in full (default: false)", ) parser.add_argument( "-v", "--verbose", action="store_true", - help="If the judge should be verbose in its output (default: false)" + help="If the judge should be verbose in its output (default: false)", ) parser.add_argument( "-d", "--debug", action="store_true", - help="If the judge should be outputing the debug messages (default: false)" + help="If the judge should be outputing the debug messages (default: false)", ) parser.add_argument( "-p", @@ -207,7 +207,9 @@ def find_status_enum(self) -> list[str]: workdir_path = judge_path / "workdir" if args.verbose or args.debug: - import logging, sys + import logging + import sys + logger = logging.getLogger() if args.debug: logger.setLevel(logging.DEBUG)