diff --git a/ctfcli/cli/challenges.py b/ctfcli/cli/challenges.py index c284f00..b56525c 100644 --- a/ctfcli/cli/challenges.py +++ b/ctfcli/cli/challenges.py @@ -14,7 +14,11 @@ from ctfcli.core.challenge import Challenge from ctfcli.core.config import Config from ctfcli.core.deployment import get_deployment_handler -from ctfcli.core.exceptions import ChallengeException, LintException, RemoteChallengeNotFound +from ctfcli.core.exceptions import ( + ChallengeException, + LintException, + RemoteChallengeNotFound, +) from ctfcli.utils.git import get_git_repo_head_branch log = logging.getLogger("ctfcli.cli.challenges") diff --git a/ctfcli/core/challenge.py b/ctfcli/core/challenge.py index b5347d4..4a94fa4 100644 --- a/ctfcli/core/challenge.py +++ b/ctfcli/core/challenge.py @@ -2,7 +2,7 @@ import subprocess from os import PathLike from pathlib import Path -from typing import Any, Dict, List, Optional, Tuple, Union +from typing import Any, Dict, List, Tuple, Union import click import yaml @@ -16,8 +16,8 @@ RemoteChallengeNotFound, ) from ctfcli.core.image import Image -from ctfcli.utils.tools import strings from ctfcli.utils.hashing import hash_file +from ctfcli.utils.tools import strings def str_presenter(dumper, data):