@@ -27,7 +27,7 @@ def test_python_file_success(self, tmp_path: Path) -> None:
2727 mock_run .assert_called_once ()
2828 # Verify it ran mypy on the specific file
2929 call_args = mock_run .call_args
30- assert call_args [0 ][0 ] == ["poetry " , "run" , "mypy" , "/path/to/file.py" ]
30+ assert call_args [0 ][0 ] == ["uv " , "run" , "mypy" , "/path/to/file.py" ]
3131
3232 def test_python_file_type_errors (self , tmp_path : Path ) -> None :
3333 """Test mypy type errors (exit 1) are transformed to exit code 2."""
@@ -99,7 +99,7 @@ def test_stop_hook_no_file_path_success(self, tmp_path: Path) -> None:
9999 mock_run .assert_called_once ()
100100 # Verify it ran mypy on current directory
101101 call_args = mock_run .call_args
102- assert call_args [0 ][0 ] == ["poetry " , "run" , "mypy" , "." ]
102+ assert call_args [0 ][0 ] == ["uv " , "run" , "mypy" , "." ]
103103 # Verify tracking file was cleaned up on success
104104 assert not hook .track_file .exists ()
105105
@@ -166,7 +166,7 @@ def test_empty_file_path_runs_full_check(self, tmp_path: Path) -> None:
166166 assert exit_code == 0
167167 # Verify it ran mypy on current directory
168168 call_args = mock_run .call_args
169- assert call_args [0 ][0 ] == ["poetry " , "run" , "mypy" , "." ]
169+ assert call_args [0 ][0 ] == ["uv " , "run" , "mypy" , "." ]
170170
171171 def test_mypy_skipped_when_disabled (self , tmp_path : Path ) -> None :
172172 """Test that mypy is skipped when disabled in state."""
0 commit comments