Skip to content

Commit 4ac2d06

Browse files
committed
1 parent 742fd71 commit 4ac2d06

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
main-latest-git:
1111
uses: asottile/workflows/.github/workflows/[email protected]
1212
with:
13-
env: '["py39"]'
13+
env: '["py310"]'
1414
main:
1515
uses: asottile/workflows/.github/workflows/[email protected]
1616
with:
17-
env: '["py39", "py310", "py311"]'
17+
env: '["py310", "py311", "3.12"]'

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

git_code_debt/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
import os.path
1010
import sqlite3
1111
from collections import Counter
12+
from collections.abc import Callable
1213
from collections.abc import Generator
1314
from collections.abc import Iterable
1415
from collections.abc import Sequence
1516
from re import Pattern
16-
from typing import Callable
1717
from typing import TypeVar
1818

1919
from git_code_debt import options

git_code_debt/util/discovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import inspect
44
import pkgutil
5+
from collections.abc import Callable
56
from types import ModuleType
67
from typing import Any
7-
from typing import Callable
88

99

1010
def discover(

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ install_requires =
2424
mako
2525
markdown-code-blocks
2626
pyyaml
27-
python_requires = >=3.9
27+
python_requires = >=3.10
2828

2929
[options.packages.find]
3030
exclude =

0 commit comments

Comments
 (0)