| 444 | } |
| 445 | |
| 446 | bool formatterUnavailable(const lfs::python::FormatResult& result) { |
| 447 | return !result.success && |
| 448 | (result.error.find("uv not found") != std::string::npos || |
| 449 | result.error.find("Failed to create venv for black") != std::string::npos || |
| 450 | result.error.find("ImportError") != std::string::npos); |
| 451 | } |
| 452 | } // namespace |
| 453 | |
| 454 | TEST_F(PythonIntegrationTest, InitializationSucceeds) { |