diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5dd83bb..8e02ed7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,26 +9,26 @@ repos: - id: name-tests-test - id: requirements-txt-fixer - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.8.0 + rev: v3.2.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/PyCQA/autoflake - rev: v2.3.1 + rev: v2.3.3 hooks: - id: autoflake args: [-i, --remove-all-unused-imports, --ignore-init-module-imports] - repo: https://github.com/asottile/pyupgrade - rev: v3.20.0 + rev: v3.21.2 hooks: - id: pyupgrade args: [--py39-plus] - repo: https://github.com/PyCQA/isort - rev: 6.0.1 + rev: 8.0.1 hooks: - id: isort args: [--af,--add-import, 'from __future__ import annotations'] -- repo: https://github.com/psf/black - rev: 25.9.0 +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.3.1 hooks: - id: black - repo: https://github.com/PyCQA/flake8 @@ -38,7 +38,7 @@ repos: 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.18.2 + rev: v1.19.1 hooks: - id: mypy additional_dependencies: [types-setuptools, types-requests] diff --git a/setup.cfg b/setup.cfg index e3ebd71..33adb62 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,7 +34,7 @@ keywords = [options] packages = find: -python_requires = >=3.9 +python_requires = >=3.10 [options.packages.find] exclude = tests; testing