From b6e7ffcd76e691196551dc5d0b82af364583f54b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 29 Jul 2026 01:52:20 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/python/test_pyproject_pypi_installable.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/python/test_pyproject_pypi_installable.py b/tests/python/test_pyproject_pypi_installable.py index 4fb5bc473d..911b40c316 100644 --- a/tests/python/test_pyproject_pypi_installable.py +++ b/tests/python/test_pyproject_pypi_installable.py @@ -93,9 +93,9 @@ class TestAmdExtraIsInstallableFromPyPI: specs = [d for d in extras["amd"] if d.lower().startswith("bitsandbytes")] assert specs, "the amd extra must constrain bitsandbytes" for spec in specs: - assert spec.startswith("bitsandbytes>=0.50.0"), ( - f"bitsandbytes <= 0.49.2 NaNs at 4-bit decode on ROCm; got {spec!r}" - ) + assert spec.startswith( + "bitsandbytes>=0.50.0" + ), f"bitsandbytes <= 0.49.2 NaNs at 4-bit decode on ROCm; got {spec!r}" def test_amd_extra_pulls_the_torch_free_runtime(self): extras = _load()["project"].get("optional-dependencies", {})