From 706cc765e9d94981bde8c3a7cbcb87affe245923 Mon Sep 17 00:00:00 2001 From: Adam Ladachowski Date: Sat, 14 Feb 2026 02:17:38 +0100 Subject: [PATCH] Fix TC003: Move Path import to TYPE_CHECKING block Path was imported at top level but only used in type hints, causing ruff TC003 error in CI. Co-Authored-By: Claude Opus 4.5 --- tensors/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensors/client.py b/tensors/client.py index ef2c0b5..74493a4 100644 --- a/tensors/client.py +++ b/tensors/client.py @@ -2,13 +2,13 @@ from __future__ import annotations -from pathlib import Path from typing import TYPE_CHECKING, Any import httpx if TYPE_CHECKING: from collections.abc import Iterator + from pathlib import Path class TsrClientError(Exception):