change: drop explicit import

This commit is contained in:
aclist committed 2026-11-05 21:26:37 +09:00
1 parent 895e08d228
commit 3097701e98
1 file changed
+5 -3
+5 -3
View File
@@ -1,16 +1,18 @@
import logging
import re
from collections.abc import Iterator
from datetime import datetime
from pathlib import Path
from typing import Any
from typing import Any, TYPE_CHECKING
from warnings import deprecated
from dzgui.const.constants import APP_NAME
logger = logging.getLogger(APP_NAME)
if TYPE_CHECKING:
from collections.abc import Iterator
class ACF:
def __init__(self, file: Path) -> None:
@@ -43,7 +45,7 @@ class ACF:
def dequote(cls, s: str) -> str:
return s.rstrip('"').lstrip('"')
def parse(self, lines: Iterator[list[str]]) -> dict[str, str]:
def parse(self, lines: "Iterator[list[str]]") -> dict[str, str]:
acf: dict[str, Any] = {}
try:
while True: