diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b1e1d02..fb50be0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: check-ast - id: check-merge-conflict @@ -27,20 +27,20 @@ repos: - id: python-use-type-annotations - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.0.0 + rev: v1.11.0 hooks: - id: mypy exclude: ^(example*|test*) additional_dependencies: [types-all, typing_extensions] - - repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v2.0.1 + - repo: https://github.com/hhatto/autopep8 + rev: v2.3.1 hooks: - id: autopep8 args: [--diff, --max-line-length=120, --aggressive] - repo: https://github.com/PyCQA/docformatter - rev: v1.6.0.rc1 + rev: v1.7.5 hooks: - id: docformatter additional_dependencies: [tomli] @@ -53,32 +53,32 @@ repos: # args: [src] - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.1.0 hooks: - id: flake8 args: [--extend-ignore, "E501,W503,W504"] - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.17.0 hooks: - id: pyupgrade args: [--py38-plus] - - repo: https://github.com/asottile/reorder_python_imports - rev: v3.9.0 + - repo: https://github.com/asottile/reorder-python-imports + rev: v3.13.0 hooks: - id: reorder-python-imports args: [--py38-plus] - repo: https://github.com/asottile/add-trailing-comma - rev: v2.4.0 + rev: v3.1.0 hooks: - id: add-trailing-comma args: [--py36-plus] - repo: https://github.com/python-poetry/poetry - rev: 1.3.0 + rev: 1.8.0 hooks: - id: poetry-check # - id: poetry-lock