Skip to content

Commit cde85ea

Browse files
authored
Merge pull request #1035 from asottile/all-repos_autofix_all-repos-manual
py310+
2 parents f90119b + c612b1b commit cde85ea

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
main-windows:
1111
uses: asottile/workflows/.github/workflows/[email protected]
1212
with:
13-
env: '["py39"]'
13+
env: '["py310"]'
1414
os: windows-latest
1515
main-linux:
1616
uses: asottile/workflows/.github/workflows/[email protected]
1717
with:
18-
env: '["py39", "py310", "py311", "py312"]'
18+
env: '["py310", "py311", "py312", "py313"]'
1919
os: ubuntu-latest

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
rev: v3.15.0
1818
hooks:
1919
- id: reorder-python-imports
20-
args: [--py39-plus, --add-import, 'from __future__ import annotations']
20+
args: [--py310-plus, --add-import, 'from __future__ import annotations']
2121
- repo: https://github.com/asottile/add-trailing-comma
2222
rev: v3.2.0
2323
hooks:
@@ -26,7 +26,7 @@ repos:
2626
rev: v3.21.0
2727
hooks:
2828
- id: pyupgrade
29-
args: [--py39-plus]
29+
args: [--py310-plus]
3030
- repo: https://github.com/hhatto/autopep8
3131
rev: v2.3.2
3232
hooks:

pyupgrade/_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import ast
44
import collections
55
import pkgutil
6+
from collections.abc import Callable
67
from collections.abc import Iterable
7-
from typing import Callable
88
from typing import NamedTuple
99
from typing import Protocol
1010
from typing import TypeVar

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ classifiers =
1919
packages = find:
2020
install_requires =
2121
tokenize-rt>=6.1.0
22-
python_requires = >=3.9
22+
python_requires = >=3.10
2323

2424
[options.packages.find]
2525
exclude =

0 commit comments

Comments
 (0)