From 9614ebeb5e0b841b3be452f4d3c0d71827ef06b9 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Tue, 7 Nov 2023 14:04:32 +0100 Subject: [PATCH] FIX: remove `black-jupyter` hook as well --- src/repoma/check_dev_files/black.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/repoma/check_dev_files/black.py b/src/repoma/check_dev_files/black.py index 21b51cb4..c3c157ee 100644 --- a/src/repoma/check_dev_files/black.py +++ b/src/repoma/check_dev_files/black.py @@ -35,6 +35,11 @@ def main(has_notebooks: bool) -> None: hook_id="black", repo_url="https://github.com/psf/black", ) + executor( + remove_precommit_hook, + hook_id="black-jupyter", + repo_url="https://github.com/psf/black", + ) executor(_update_precommit_repo, has_notebooks) executor(add_extension_recommendation, "ms-python.black-formatter") executor(set_setting, {"black-formatter.importStrategy": "fromEnvironment"})