From c8ed740826c1c3c4477499dfe9aaa0109c38d8a6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 12 Dec 2023 14:45:50 +0000 Subject: [PATCH] ci: auto fixes from pre-commit hooks for more information, see https://pre-commit.ci --- tests/requirements/compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/requirements/compile.py b/tests/requirements/compile.py index 2a3a1d9..d19e98c 100755 --- a/tests/requirements/compile.py +++ b/tests/requirements/compile.py @@ -80,7 +80,7 @@ def run(*args, **kwargs): ] + sys.argv[1:] print("Upgrading pip-tools") - for py_ver in set(key.split("-")[0] for key in COMPILE_SETTINGS.keys()): + for py_ver in {key.split("-")[0] for key in COMPILE_SETTINGS.keys()}: args = [f"python{py_ver[2]}.{py_ver[3:]}", "-m", "pip", "install", "--upgrade", "pip-tools"] subprocess.run(args, capture_output=True)