From cf70ac54a1771c95cc9e542cc2a69c3eb176177f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 23:00:19 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 24.3.0 → 24.10.0](https://github.com/psf/black/compare/24.3.0...24.10.0) - [github.com/PyCQA/flake8: 7.0.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.1) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 29df1ca7..fb34c82d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,13 +6,13 @@ repos: additional_dependencies: [toml] - repo: https://github.com/psf/black - rev: 24.3.0 + rev: 24.10.0 hooks: - id: black additional_dependencies: [toml] language_version: python3.8 - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 From 46412ca2ed6677c65fd5a69ebe9fb4b78b2f3008 Mon Sep 17 00:00:00 2001 From: Hiroaki Imoto Date: Wed, 6 Nov 2024 10:04:01 +0000 Subject: [PATCH 2/3] Update Python version --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fb34c82d..7990af86 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: hooks: - id: black additional_dependencies: [toml] - language_version: python3.8 + language_version: python3.12 - repo: https://github.com/PyCQA/flake8 rev: 7.1.1 From d45ebd2cd24cd0300668b743de553be8f250ce7c Mon Sep 17 00:00:00 2001 From: Hiroaki Imoto Date: Wed, 6 Nov 2024 10:05:07 +0000 Subject: [PATCH 3/3] Add E226 --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 2ec1bdd3..698a50a1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,4 +2,4 @@ max-line-length = 99 max-complexity = 20 select = B,C,E,F,W,T4,B9 -ignore = E203, E266, E501, E741, W503, F403, F401, F405, F541 +ignore = E203, E226, E266, E501, E741, W503, F403, F401, F405, F541