From ec4cbbdd441f7ab9df246380d90c1d2bcd6a78cc Mon Sep 17 00:00:00 2001 From: iomgaa Date: Sun, 12 Jul 2026 22:36:00 -0400 Subject: [PATCH] style(core): move Path import to TYPE_CHECKING block in types.py Co-Authored-By: Claude Opus 4.6 (1M context) --- core/types.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/types.py b/core/types.py index 5bed83e..2a5ad54 100644 --- a/core/types.py +++ b/core/types.py @@ -3,7 +3,10 @@ from __future__ import annotations from dataclasses import dataclass, field -from pathlib import Path as _Path +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + from pathlib import Path as _Path @dataclass(frozen=True)