Skip to content

Commit

Permalink
chore: fix pre-commit version in Gitlab CI
Browse files Browse the repository at this point in the history
Until the docformatter hook is fixed
PyCQA/docformatter#293
  • Loading branch information
azmeuk committed Oct 28, 2024
1 parent e793191 commit ebbeb13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ebbeb13

Please sign in to comment.