Skip to content

Commit

Permalink
Bump pre-commit versions and pin pre-commit version
Browse files Browse the repository at this point in the history
The docformatter hook of pre-commit currently does not work with
pre-commit >=v4.0.0, so pin to an old version for now.

See PyCQA/docformatter#293
  • Loading branch information
m-appel committed Oct 28, 2024
1 parent ddea10e commit e258a0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ repos:
- id: docformatter
args: [--in-place, --wrap-summaries, '88', --wrap-descriptions, '88']
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: double-quote-string-fixer
- id: mixed-line-ending
args: ['--fix', 'lf']
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
rev: 7.1.1
hooks:
- id: flake8
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ flatdict
requests_futures
autopep8
flake8
pre-commit
pre-commit==3.8.0
PyGithub
clickhouse_driver
pyspark
Expand Down

0 comments on commit e258a0e

Please sign in to comment.