Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #506 from communitiesuk/bau/update-pre-commit
Browse files Browse the repository at this point in the history
Upgrade pre-commit
  • Loading branch information
samuelhwilliams authored Oct 24, 2024
2 parents 17a0c41 + 4fe806a commit b40874e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ repos:
name: Reorder Python imports (src, tests)
args: ["--application-directories", "src"]
- repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
# We are pinning a specific hash here because the current latest released version (v1.7.5) is
# incompatible with pre-commit v4+
# issue: https://github.com/PyCQA/docformatter/issues/289
rev: eb1df347edd128b30cd3368dddc3aa65edcfac38
hooks:
- id: docformatter
additional_dependencies: [tomli]
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ black
deepdiff
invoke
pip-tools>=6.13.0
pre-commit
pre-commit~=4.0.0
pytest
pytest-env
pytest-flask
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ ply==3.11
# jsonpath-rw
prance==23.6.21.0
# via -r requirements.txt
pre-commit==3.7.1
pre-commit==4.0.1
# via -r requirements-dev.in
psycopg2-binary==2.9.9
# via -r requirements.txt
Expand Down

0 comments on commit b40874e

Please sign in to comment.