chore: fix pre-commit version in Gitlab CI

Until the docformatter hook is fixed
https://github.com/PyCQA/docformatter/issues/293
This commit is contained in:
Éloi Rivard 2024-10-28 08:51:45 +01:00
parent e79319110b
commit ebbeb13542
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184

View file

@ -19,7 +19,9 @@ style:
image: python:3.13 image: python:3.13
stage: test stage: test
script: 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 - pre-commit run --all-files --show-diff-on-failure
python310: python310: