From 5944d0eb892753cf3dafaaf35ee5853bf327e3f1 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 24 Oct 2024 22:09:45 +0200 Subject: [PATCH] ENH: do not import Tox into Pixi if `pixi+uv` --- src/compwa_policy/check_dev_files/pixi/_update.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compwa_policy/check_dev_files/pixi/_update.py b/src/compwa_policy/check_dev_files/pixi/_update.py index 260c5584..e45694b4 100644 --- a/src/compwa_policy/check_dev_files/pixi/_update.py +++ b/src/compwa_policy/check_dev_files/pixi/_update.py @@ -52,8 +52,9 @@ def update_pixi_configuration( do(_define_minimal_project, config) do(_import_conda_dependencies, config) do(_import_conda_environment, config) - if package_manager == "pixi+uv": + if package_manager == "pixi": do(_import_tox_tasks, config) + if package_manager == "pixi+uv": do(_define_combined_ci_job, config) else: if is_python_package: