Run mypy without a cache and name the floor once
This commit was merged in pull request #142.
This commit is contained in:
+1
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user