Skip to content

Commit cb5dcf2

Browse files
chore: [pre-commit.ci] pre-commit autoupdate and fix Python version inconsistencies used in the CI (#193)
* chore: [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/setup-cfg-fmt: v2.8.0 → v3.1.0](asottile/setup-cfg-fmt@v2.8.0...v3.1.0) - [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.14.3](astral-sh/ruff-pre-commit@v0.13.3...v0.14.3) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix inconsistency in Python versions required in several places --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Eduardo Rodrigues <[email protected]>
1 parent 2bc1f9f commit cb5dcf2

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
python-version:
17-
- '3.9'
17+
- '3.10'
1818
- '3.13'
1919
name: Check Python ${{ matrix.python-version }}
2020
steps:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
- id: black
2727

2828
- repo: https://github.com/asottile/setup-cfg-fmt
29-
rev: v2.8.0
29+
rev: v3.1.0
3030
hooks:
3131
- id: setup-cfg-fmt
3232
args: [--include-version-classifiers, --max-py-version=3.13]
@@ -42,7 +42,7 @@ repos:
4242
- types-requests
4343

4444
- repo: https://github.com/astral-sh/ruff-pre-commit
45-
rev: "v0.13.3"
45+
rev: "v0.14.3"
4646
hooks:
4747
- id: ruff
4848
args: ["--fix", "--show-fixes"]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ lint.extend-ignore = [
3939
"E501", # Line too long
4040
"PT011", # Too broad of a match
4141
]
42-
target-version = "py39"
42+
target-version = "py310"
4343
lint.typing-modules = ["mypackage._compat.typing"]
4444
src = ["src"]
4545
lint.unfixable = [

setup.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ classifiers =
1616
Natural Language :: English
1717
Programming Language :: Python :: 3
1818
Programming Language :: Python :: 3 :: Only
19-
Programming Language :: Python :: 3.9
2019
Programming Language :: Python :: 3.10
2120
Programming Language :: Python :: 3.11
2221
Programming Language :: Python :: 3.12
@@ -33,7 +32,7 @@ packages = find:
3332
install_requires =
3433
pyyaml
3534
requests
36-
python_requires = >=3.9
35+
python_requires = >=3.10
3736
package_dir =
3837
=src
3938
zip_safe = True
@@ -57,7 +56,7 @@ norecursedirs = src
5756

5857
[mypy]
5958
files = src
60-
python_version = 3.9
59+
python_version = 3.13
6160
warn_unused_configs = True
6261
disallow_any_generics = True
6362
disallow_subclassing_any = True

0 commit comments

Comments
 (0)