diff --git a/poetry.lock b/poetry.lock index 3d2bd423..5861264b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -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]] name = "aiosmtpd" @@ -1237,13 +1237,13 @@ psutil = "*" [[package]] name = "pre-commit" -version = "4.0.1" +version = "3.8.0" description = "A framework for managing and maintaining multi-language pre-commit hooks." optional = false python-versions = ">=3.9" files = [ - {file = "pre_commit-4.0.1-py2.py3-none-any.whl", hash = "sha256:efde913840816312445dc98787724647c65473daefe420785f885e8ed9a06878"}, - {file = "pre_commit-4.0.1.tar.gz", hash = "sha256:80905ac375958c0444c65e9cebebd948b3cdb518f335a091a670a89d652139d2"}, + {file = "pre_commit-3.8.0-py2.py3-none-any.whl", hash = "sha256:9a90a53bf82fdd8778d58085faf8d83df56e40dfe18f45b19446e26bf1b3a63f"}, + {file = "pre_commit-3.8.0.tar.gz", hash = "sha256:8bb6494d4a20423842e198980c9ecf9f96607a07ea29549e180eef9ae80fe7af"}, ] [package.dependencies] @@ -2556,4 +2556,4 @@ sql = ["passlib", "sqlalchemy", "sqlalchemy-json", "sqlalchemy-utils"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "4c966ed0a4c6f20029671c8c8c571f30ea6f2b2fe8cc290c5c4f4273c441e336" +content-hash = "cb90e045de6c9ea51dee723f4b54ded36296602cf642c1d8d696adc423da83fb" diff --git a/pyproject.toml b/pyproject.toml index 845d4a72..00fc713c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,7 +82,9 @@ sphinxcontrib-images = "^0.9.4" coverage = {version = "*", extras=["toml"]} faker = "*" 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 = "*" pytest = "^8.0.0" pytest-coverage = "*" @@ -223,7 +225,7 @@ commands = [testenv:style] commands = - pip install pre-commit + pip install pre-commit<4 pre-commit run --all-files [testenv:doc]