From f9456fbfd10d2764508b62f0e126102e82b9b071 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Nov 2025 21:17:38 +0000 Subject: [PATCH] pre-commit: setup-cfg-fmt with min-py-version and max-py-version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v6.0.0) - [github.com/pycqa/isort: 5.13.2 → 7.0.0](https://github.com/pycqa/isort/compare/5.13.2...7.0.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.4.2 → 25.11.0](https://github.com/psf/black-pre-commit-mirror/compare/24.4.2...25.11.0) - [github.com/asottile/pyupgrade: v3.16.0 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v3.16.0...v3.21.2) - [github.com/pycqa/flake8: 7.1.0 → 7.3.0](https://github.com/pycqa/flake8/compare/7.1.0...7.3.0) - [github.com/asottile/setup-cfg-fmt: v2.5.0 → v3.1.0](https://github.com/asottile/setup-cfg-fmt/compare/v2.5.0...v3.1.0) --- .pre-commit-config.yaml | 7 +++++-- setup.cfg | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 405e529..4c87a82 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,6 @@ +ci: + autoupdate_schedule: monthly + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 @@ -27,10 +30,10 @@ repos: additional_dependencies: - flake8-docstrings - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.5.0 + rev: v3.1.0 hooks: - id: setup-cfg-fmt - args: [--include-version-classifiers] + args: [--include-version-classifiers, --min-py-version=3.8, --max-py-version=3.12] #- repo: https://github.com/pre-commit/mirrors-mypy # rev: v0.910-1 # hooks: diff --git a/setup.cfg b/setup.cfg index b283034..b11c015 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,7 +12,6 @@ license_files = LICENSE classifiers = Development Status :: 5 - Production/Stable Intended Audience :: Developers - License :: OSI Approved :: Apache Software License Natural Language :: English Programming Language :: Python Programming Language :: Python :: 3