diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6a25275..4294393 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -13,12 +13,12 @@ repos: hooks: - id: setup-cfg-fmt - repo: https://github.com/PyCQA/autoflake - rev: v2.2.1 + rev: v2.3.1 hooks: - id: autoflake args: [-i, --remove-all-unused-imports, --ignore-init-module-imports] - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.15.2 hooks: - id: pyupgrade args: [--py39-plus] @@ -28,17 +28,17 @@ repos: - id: isort args: [--af,--add-import, 'from __future__ import annotations'] - repo: https://github.com/psf/black - rev: 23.12.0 + rev: 24.3.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 args: [--max-line-length=120, '--ignore=E203, E501, A003'] additional_dependencies: [toml, flake8-encodings, flake8-warnings, flake8-builtins, flake8-length, flake8-print] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.7.1 + rev: v1.9.0 hooks: - id: mypy additional_dependencies: [types-setuptools, types-requests]