Skip to content

Commit f9456fb

Browse files
pre-commit-ci[bot]cclauss
authored andcommitted
pre-commit: setup-cfg-fmt with min-py-version and max-py-version
updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v6.0.0](pre-commit/pre-commit-hooks@v4.6.0...v6.0.0) - [github.com/pycqa/isort: 5.13.2 → 7.0.0](PyCQA/isort@5.13.2...7.0.0) - https://github.com/psf/blackhttps://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.4.2 → 25.11.0](psf/black-pre-commit-mirror@24.4.2...25.11.0) - [github.com/asottile/pyupgrade: v3.16.0 → v3.21.2](asottile/pyupgrade@v3.16.0...v3.21.2) - [github.com/pycqa/flake8: 7.1.0 → 7.3.0](PyCQA/flake8@7.1.0...7.3.0) - [github.com/asottile/setup-cfg-fmt: v2.5.0 → v3.1.0](asottile/setup-cfg-fmt@v2.5.0...v3.1.0)
1 parent ef4dc51 commit f9456fb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
ci:
2+
autoupdate_schedule: monthly
3+
14
repos:
25
- repo: https://github.com/pre-commit/pre-commit-hooks
36
rev: v4.6.0
@@ -27,10 +30,10 @@ repos:
2730
additional_dependencies:
2831
- flake8-docstrings
2932
- repo: https://github.com/asottile/setup-cfg-fmt
30-
rev: v2.5.0
33+
rev: v3.1.0
3134
hooks:
3235
- id: setup-cfg-fmt
33-
args: [--include-version-classifiers]
36+
args: [--include-version-classifiers, --min-py-version=3.8, --max-py-version=3.12]
3437
#- repo: https://github.com/pre-commit/mirrors-mypy
3538
# rev: v0.910-1
3639
# hooks:

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ license_files = LICENSE
1212
classifiers =
1313
Development Status :: 5 - Production/Stable
1414
Intended Audience :: Developers
15-
License :: OSI Approved :: Apache Software License
1615
Natural Language :: English
1716
Programming Language :: Python
1817
Programming Language :: Python :: 3

0 commit comments

Comments
 (0)