Remove redundant 'if TYPE_CHECKING' statements

This commit is contained in:
Marek Wolan
2023-07-18 10:21:06 +01:00
parent 6c31034dba
commit 0d521bc96b
15 changed files with 37 additions and 65 deletions

View File

@@ -1,16 +1,13 @@
# Crown Owned Copyright (C) Dstl 2023. DEFCON 703. Shared in confidence.
import os
from logging import Logger
from pathlib import Path
from typing import TYPE_CHECKING
import pkg_resources
from primaite import getLogger
if TYPE_CHECKING:
from logging import Logger
_LOGGER: "Logger" = getLogger(__name__)
_LOGGER: Logger = getLogger(__name__)
def get_file_path(path: str) -> Path: