diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 16cc81d..08be288 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,13 +2,13 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 24.10.0 hooks: - id: black args: [--safe] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -18,26 +18,25 @@ repos: language_version: python3 - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 7.1.1 hooks: - id: flake8 language_version: python3 - repo: https://github.com/asottile/reorder_python_imports - rev: v3.1.0 + rev: v3.14.0 hooks: - id: reorder-python-imports - args: [--application-directories=.:src, --py39-plus] + args: [--py39-plus] - repo: https://github.com/asottile/pyupgrade - rev: v2.34.0 + rev: v3.19.0 hooks: - id: pyupgrade args: [--py39-plus] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.961 + rev: v1.13.0 hooks: - id: mypy - files: ^src/ args: [] diff --git a/.python-version b/.python-version index 0c7d5f5..171a6a9 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.11.4 +3.12.1