From 628ee30f2a4449dcfe83f79f1bf610f0c0b008a1 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 29 Sep 2026 15:50:49 +0200 Subject: [PATCH] Run mypy without a cache and name the floor once --- bin/test_types.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/test_types.py b/bin/test_types.py index 4cc1ba75..0098a6c3 100644 --- a/bin/test_types.py +++ b/bin/test_types.py @@ -11,6 +11,5 @@ class Types(unittest.TestCase): self.assertIsNotNone(floor, "README.md's Install names `Python 3.N or newer`") if shutil.which("uv") is None: self.fail("uv on PATH fetches mypy; see README.md's Test line") - version = "%d.%d" % floor - ran = subprocess.run(["uv", "tool", "run", "--python", version, "mypy==2.3.1", "--check-untyped-defs", "--python-version", version, "-p", "loop_claude"], capture_output=True, cwd=ROOT / "bin", text=True) + ran = subprocess.run(["uv", "tool", "run", "--python", "%d.%d" % floor, "mypy==2.3.1", "--cache-dir=/dev/null", "--check-untyped-defs", "-p", "loop_claude"], capture_output=True, cwd=ROOT / "bin", text=True) self.assertEqual(ran.returncode, 0, ran.stdout + ran.stderr)