forked from Github-Mirrors/canaille
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:
parent
e79319110b
commit
ebbeb13542
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue