From d8d97d9fd3cc6373bc954e2937e62526c3012090 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 19:54:44 +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.0.1 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.6.0) - [github.com/asottile/setup-cfg-fmt: v1.20.0 → v2.5.0](https://github.com/asottile/setup-cfg-fmt/compare/v1.20.0...v2.5.0) - [github.com/PyCQA/flake8: 4.0.1 → 7.0.0](https://github.com/PyCQA/flake8/compare/4.0.1...7.0.0) - https://github.com/myint/autoflake → https://github.com/PyCQA/autoflake - [github.com/PyCQA/autoflake: v1.4 → v2.3.1](https://github.com/PyCQA/autoflake/compare/v1.4...v2.3.1) - [github.com/PyCQA/isort: 5.10.1 → 5.13.2](https://github.com/PyCQA/isort/compare/5.10.1...5.13.2) - [github.com/psf/black: 22.3.0 → 24.4.0](https://github.com/psf/black/compare/22.3.0...24.4.0) - [github.com/asottile/pyupgrade: v2.29.1 → v3.15.2](https://github.com/asottile/pyupgrade/compare/v2.29.1...v3.15.2) --- .pre-commit-config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b76ed05..ab27af0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,36 +1,36 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.6.0 hooks: - id: check-docstring-first - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.20.0 + rev: v2.5.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 7.0.0 hooks: - id: flake8 args: [ "--ignore=E203,E501", "--max-complexity=12"] additional_dependencies: [ flake8-typing-imports==1.7.0 ] - - repo: https://github.com/myint/autoflake - rev: v1.4 + - repo: https://github.com/PyCQA/autoflake + rev: v2.3.1 hooks: - id: autoflake args: [ "--in-place", "--remove-all-unused-imports" ] - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + rev: 5.13.2 hooks: - id: isort args: [ "--profile", "black" ] - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 24.4.0 hooks: - id: black - repo: https://github.com/asottile/pyupgrade - rev: v2.29.1 + rev: v3.15.2 hooks: - id: pyupgrade args: [ --py37-plus, --keep-runtime-typing ]