From 25a5e9fc2289da634b179a9fafcc9933caf3927c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 23:24:30 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/pyupgrade: v3.16.0 → v3.17.0](https://github.com/asottile/pyupgrade/compare/v3.16.0...v3.17.0) --- .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 bf1666c..e7c1878 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.16.0 + rev: v3.17.0 hooks: - id: pyupgrade args: [--py38-plus] From 1a9e35b8a20bedbd876fc0a3d05cea010e5d089b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 23:26:27 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- setup_cfg_fmt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_cfg_fmt.py b/setup_cfg_fmt.py index 49fbd5d..633be3c 100644 --- a/setup_cfg_fmt.py +++ b/setup_cfg_fmt.py @@ -173,7 +173,7 @@ def _parse_python_requires( return minimum, excluded -def _tox_envlist(setup_cfg: str) -> Generator[str, None, None]: +def _tox_envlist(setup_cfg: str) -> Generator[str]: tox_ini = _adjacent_filename(setup_cfg, 'tox.ini') if os.path.exists(tox_ini): cfg = NoTransformConfigParser()