Skip to content

Commit 8e6ea96

Browse files
authored
Merge pull request #1197 from pre-commit/all-repos_autofix_all-repos-manual
py310+
2 parents a2cdab0 + 3411068 commit 8e6ea96

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.20.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:

pre_commit_hooks/file_contents_sorter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
from __future__ import annotations
1313

1414
import argparse
15+
from collections.abc import Callable
1516
from collections.abc import Iterable
1617
from collections.abc import Sequence
1718
from typing import Any
18-
from typing import Callable
1919
from typing import IO
2020

2121
PASS = 0

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ packages = find:
2020
install_requires =
2121
ruamel.yaml>=0.15
2222
tomli>=1.1.0;python_version<"3.11"
23-
python_requires = >=3.9
23+
python_requires = >=3.10
2424

2525
[options.packages.find]
2626
exclude =

0 commit comments

Comments
 (0)