From 1788d3d2034db978a37cb982e088acda633ea68b 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 06:16:56 +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 | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/python/test_unsloth_pip_shim.py b/tests/python/test_unsloth_pip_shim.py index 57628bca72..4766129ac7 100644 --- a/tests/python/test_unsloth_pip_shim.py +++ b/tests/python/test_unsloth_pip_shim.py @@ -761,10 +761,15 @@ def test_uv_help_value_flags_all_classified(shim): @pytest.mark.parametrize( "url", [ - pytest.param("git+https://github.com/unslothai/unsloth.git@feature/foo", id="https-slash-ref"), - pytest.param("git+ssh://git@github.com/unslothai/unsloth.git@feature/foo", id="ssh-userinfo-and-slash-ref"), - pytest.param("git+https://github.com/unslothai/unsloth.git@v2026.7", id="plain-tag-ref"), - pytest.param("git+https://github.com/unslothai/unsloth.git", id="no-ref"), + pytest.param( + "git+https://github.com/unslothai/unsloth.git@feature/foo", id = "https-slash-ref" + ), + pytest.param( + "git+ssh://git@github.com/unslothai/unsloth.git@feature/foo", + id = "ssh-userinfo-and-slash-ref", + ), + pytest.param("git+https://github.com/unslothai/unsloth.git@v2026.7", id = "plain-tag-ref"), + pytest.param("git+https://github.com/unslothai/unsloth.git", id = "no-ref"), ], ) def test_vcs_slash_ref_still_protected(shim, url):