From 3d56fae3188de5c03de216261b806ce61705a3e1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 21:24:03 +0000 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.6.0) - [github.com/pycqa/isort: 5.10.1 → 5.13.2](https://github.com/pycqa/isort/compare/5.10.1...5.13.2) - [github.com/asottile/pyupgrade: v2.37.3 → v3.15.2](https://github.com/asottile/pyupgrade/compare/v2.37.3...v3.15.2) - [github.com/psf/black: 22.8.0 → 24.4.0](https://github.com/psf/black/compare/22.8.0...24.4.0) - [github.com/asottile/blacken-docs: v1.12.1 → 1.16.0](https://github.com/asottile/blacken-docs/compare/v1.12.1...1.16.0) - [github.com/PyCQA/flake8: 5.0.4 → 7.0.0](https://github.com/PyCQA/flake8/compare/5.0.4...7.0.0) - [github.com/pre-commit/mirrors-mypy: v0.971 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v0.971...v1.9.0) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1daf843..1852f35 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.3.0" + rev: "v4.6.0" hooks: - id: check-json - id: check-toml @@ -12,34 +12,34 @@ repos: # isort to sort imports - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 5.13.2 hooks: - id: isort name: isort (python) # Upgrade syntax to newer versions - repo: https://github.com/asottile/pyupgrade - rev: v2.37.3 + rev: v3.15.2 hooks: - id: pyupgrade args: [--py37-plus] # Format with black - repo: https://github.com/psf/black - rev: 22.8.0 + rev: 24.4.0 hooks: - id: black # Format docs - repo: https://github.com/asottile/blacken-docs - rev: v1.12.1 + rev: 1.16.0 hooks: - id: blacken-docs additional_dependencies: [black>=21.12b0] # Flake8 for linting, line-length adjusted to match Black default - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 7.0.0 hooks: - id: flake8 additional_dependencies: [flake8-builtins] @@ -49,6 +49,6 @@ repos: # Type enforcement for Python - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.971 + rev: v1.9.0 hooks: - id: mypy