From ebbeb1354298745fbdc457ddb1b13b4bd17ea727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Mon, 28 Oct 2024 08:51:45 +0100 Subject: [PATCH] chore: fix pre-commit version in Gitlab CI Until the docformatter hook is fixed https://github.com/PyCQA/docformatter/issues/293 --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 25a78032..a2910dce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,9 @@ style: image: python:3.13 stage: test script: - - pip install pre-commit + # pre-commit version is fixed until docformatted hook is compatible + # https://github.com/PyCQA/docformatter/issues/293 + - pip install "pre-commit<4.0.0" - pre-commit run --all-files --show-diff-on-failure python310: