chore: fix pre-commit version

until docformatter hook is fixed
https://github.com/PyCQA/docformatter/issues/293
This commit is contained in:
Éloi Rivard 2024-10-27 11:05:18 +01:00
parent 954ab1cbbb
commit ff4a404149
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184
2 changed files with 9 additions and 7 deletions

10
poetry.lock generated
View file

@ -1,4 +1,4 @@
# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. # This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand.
[[package]] [[package]]
name = "aiosmtpd" name = "aiosmtpd"
@ -1237,13 +1237,13 @@ psutil = "*"
[[package]] [[package]]
name = "pre-commit" name = "pre-commit"
version = "4.0.1" version = "3.8.0"
description = "A framework for managing and maintaining multi-language pre-commit hooks." description = "A framework for managing and maintaining multi-language pre-commit hooks."
optional = false optional = false
python-versions = ">=3.9" python-versions = ">=3.9"
files = [ files = [
{file = "pre_commit-4.0.1-py2.py3-none-any.whl", hash = "sha256:efde913840816312445dc98787724647c65473daefe420785f885e8ed9a06878"}, {file = "pre_commit-3.8.0-py2.py3-none-any.whl", hash = "sha256:9a90a53bf82fdd8778d58085faf8d83df56e40dfe18f45b19446e26bf1b3a63f"},
{file = "pre_commit-4.0.1.tar.gz", hash = "sha256:80905ac375958c0444c65e9cebebd948b3cdb518f335a091a670a89d652139d2"}, {file = "pre_commit-3.8.0.tar.gz", hash = "sha256:8bb6494d4a20423842e198980c9ecf9f96607a07ea29549e180eef9ae80fe7af"},
] ]
[package.dependencies] [package.dependencies]
@ -2556,4 +2556,4 @@ sql = ["passlib", "sqlalchemy", "sqlalchemy-json", "sqlalchemy-utils"]
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.10" python-versions = "^3.10"
content-hash = "4c966ed0a4c6f20029671c8c8c571f30ea6f2b2fe8cc290c5c4f4273c441e336" content-hash = "cb90e045de6c9ea51dee723f4b54ded36296602cf642c1d8d696adc423da83fb"

View file

@ -82,7 +82,9 @@ sphinxcontrib-images = "^0.9.4"
coverage = {version = "*", extras=["toml"]} coverage = {version = "*", extras=["toml"]}
faker = "*" faker = "*"
flask-webtest = "*" flask-webtest = "*"
pre-commit = "*" # pre-commit version is fixed until docformatted hook is compatible
# https://github.com/PyCQA/docformatter/issues/293
pre-commit = "^3.0.0"
pyquery = "*" pyquery = "*"
pytest = "^8.0.0" pytest = "^8.0.0"
pytest-coverage = "*" pytest-coverage = "*"
@ -223,7 +225,7 @@ commands =
[testenv:style] [testenv:style]
commands = commands =
pip install pre-commit pip install pre-commit<4
pre-commit run --all-files pre-commit run --all-files
[testenv:doc] [testenv:doc]