Skip to content

Commit 05fac4b

Browse files
committed
update mypy to 3.10
1 parent faa0236 commit 05fac4b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
python: ["3.9", "3.10"]
21+
python: ["3.10", "3.12"]
2222
os: [ubuntu-latest]
2323

2424
env:

.mypy.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version = 3.9
2+
python_version = 3.10
33
plugins = numpy.typing.mypy_plugin
44

55
ignore_errors = False
@@ -25,4 +25,4 @@ no_warn_no_return = True
2525

2626
show_error_codes = True
2727
show_column_numbers = True
28-
error_summary = True
28+
error_summary = True

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ filterwarnings = [
7575

7676
[tool.black]
7777
line-length = 120
78-
target-version = ['py39']
78+
target-version = ['py310']
7979
include = '\.pyi?$'
8080
exclude = '''
8181
(
@@ -158,7 +158,7 @@ lint.select = [
158158
"PGH", # pygrep-hooks
159159
]
160160
lint.unfixable = ["B", "UP", "C4", "BLE", "T20", "RET"]
161-
target-version = "py39"
161+
target-version = "py310"
162162
[tool.ruff.lint.per-file-ignores]
163163
"tests/*" = ["D", "PT", "B024"]
164164
"*/__init__.py" = ["F401", "D104", "D107", "E402"]

0 commit comments

Comments
 (0)