From e7eed71388eedbd24be8e815de9f747f1c8308b1 Mon Sep 17 00:00:00 2001 From: hallerite Date: Thu, 13 Aug 2026 08:29:44 +0000 Subject: [PATCH] chore(ruff): pin path-dep import classification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ruff infers first-party modules from directories at the source root, so a stray untracked verifiers/ dir in a working tree flips `import verifiers` to first-party there — local pre-commit hooks then re-sort imports into a layout CI (which checks out clean) rejects. Declare the deps/ path dependencies known-third-party so classification is a property of the repo, not of what happens to exist in someone's checkout. Co-Authored-By: Claude Fable 5 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 5c3896ed2d..1d32b97d6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -261,6 +261,7 @@ select = ["F", "I"] # Without this, ruff classifies prime_rl.configs.* as third-party because it # doesn't live under src/. known-first-party = ["prime_rl"] +known-third-party = ["verifiers", "renderers", "pydantic_config"] [tool.ruff] line-length = 120