Skip to content

Commit

Permalink
Apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
niknetniko committed Feb 21, 2024
1 parent 5762b8f commit f9d704b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tested/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit f9d704b

Please sign in to comment.