From 3ef61f2106757b918d5c7c28e3d84c68a0c8a5e2 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 24 Oct 2024 22:11:48 +0200 Subject: [PATCH] FIX: do not remove `jupyterlab-code-formatter` --- src/compwa_policy/check_dev_files/jupyter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compwa_policy/check_dev_files/jupyter.py b/src/compwa_policy/check_dev_files/jupyter.py index 3fdac2cd..201712f3 100644 --- a/src/compwa_policy/check_dev_files/jupyter.py +++ b/src/compwa_policy/check_dev_files/jupyter.py @@ -29,9 +29,8 @@ def _update_dev_requirements(no_ruff: bool) -> None: "black", ignored_sections=["doc", "notebooks", "test"] ) pyproject.remove_dependency("isort") - pyproject.remove_dependency("jupyterlab-code-formatter") ruff_packages = { - "jupyterlab-code-formatter >=3.0.0", + "jupyterlab-code-formatter", "python-lsp-ruff", } packages.update(ruff_packages)