From 1923405095a252e70448d645fc64fc6224e3aefa Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 05:52:12 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/python/test_unsloth_pip_shim.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/python/test_unsloth_pip_shim.py b/tests/python/test_unsloth_pip_shim.py index 54946f587e..12d2eebb2f 100644 --- a/tests/python/test_unsloth_pip_shim.py +++ b/tests/python/test_unsloth_pip_shim.py @@ -670,14 +670,14 @@ def test_local_dir_without_metadata_passes_through(shim, tmp_path): @pytest.mark.parametrize( "tool, flag, value", [ - pytest.param("uv", "--torch-backend", "cu128", id="uv-torch-backend"), - pytest.param("uv", "--resolution", "lowest", id="uv-resolution"), - pytest.param("uv", "--default-index", "https://mirror/simple", id="uv-default-index"), - pytest.param("uv", "--exclude-newer", "2026-01-01", id="uv-exclude-newer"), - pytest.param("uv", "-b", "build-constraints.txt", id="uv-build-constraints-short"), - pytest.param("pip", "--proxy", "http://proxy:3128", id="pip-proxy"), - pytest.param("pip", "--retries", "3", id="pip-retries"), - pytest.param("pip", "--trusted-host", "mirror.internal", id="pip-trusted-host"), + pytest.param("uv", "--torch-backend", "cu128", id = "uv-torch-backend"), + pytest.param("uv", "--resolution", "lowest", id = "uv-resolution"), + pytest.param("uv", "--default-index", "https://mirror/simple", id = "uv-default-index"), + pytest.param("uv", "--exclude-newer", "2026-01-01", id = "uv-exclude-newer"), + pytest.param("uv", "-b", "build-constraints.txt", id = "uv-build-constraints-short"), + pytest.param("pip", "--proxy", "http://proxy:3128", id = "pip-proxy"), + pytest.param("pip", "--retries", "3", id = "pip-retries"), + pytest.param("pip", "--trusted-host", "mirror.internal", id = "pip-trusted-host"), ], ) def test_value_flag_protected_only_noops(shim, tool, flag, value): @@ -690,9 +690,9 @@ def test_value_flag_protected_only_noops(shim, tool, flag, value): @pytest.mark.parametrize( "tool, flag, value", [ - pytest.param("uv", "--torch-backend", "cu128", id="uv-torch-backend"), - pytest.param("uv", "--resolution", "lowest", id="uv-resolution"), - pytest.param("pip", "--proxy", "http://proxy:3128", id="pip-proxy"), + pytest.param("uv", "--torch-backend", "cu128", id = "uv-torch-backend"), + pytest.param("uv", "--resolution", "lowest", id = "uv-resolution"), + pytest.param("pip", "--proxy", "http://proxy:3128", id = "pip-proxy"), ], ) def test_value_flag_pair_forwarded_with_kept_target(shim, tool, flag, value):