Skip to content

Commit

Permalink
fix: use pre-commit < 4
Browse files Browse the repository at this point in the history
* docformatter breaks pre-commit on version 4.0. Need to pin this until this issue is resolved: PyCQA/docformatter#289
* in future when this is resolved also need to run `pre-commit migrate-config`
  • Loading branch information
Szymon Palucha committed Oct 7, 2024
1 parent be585b0 commit d2b6281
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ typed = [
# version 2.31.0.3 introduced
# overly strict typing of requests.HttpError
# which was fixed in 2.31.0.6
"types-requests",
"types-cachetools",
"types-regex",
"types-psutil",
Expand All @@ -90,13 +91,14 @@ dev = [
"mypy",
"vulture",
"bump2version",
"pre-commit",
# docformatter breaks pre-commit on version 4.0. Need to pin this until this issue is resolved: https://github.com/PyCQA/docformatter/issues/289
"pre-commit<4.0.0",
"pytest",
"pytest-mock",
"pytest-cov",
"pytest-timeout",
"hypothesis",
"sphinx>=7.2,<8.0", # 8.0.0 breaks our docs at the moment
"sphinx>=7.2,<8.0", # 8.0.0 breaks our docs at the moment
"myst_parser",
"furo>=2023.08.17",
# to allow profiling
Expand Down

0 comments on commit d2b6281

Please sign in to comment.