Skip to content

Commit 5aa59da

Browse files
committed
Update mypy and black
1 parent 2a1275e commit 5aa59da

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.mypy.ini

Lines changed: 1 addition & 1 deletion
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
check_untyped_defs = True
44
no_implicit_optional = True
55
strict_optional = True

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/execution/test_map_async_iterator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
is_pypy = platform.python_implementation() == "PyPy"
99

1010
try: # pragma: no cover
11-
anext # type: ignore
11+
anext
1212
except NameError: # pragma: no cover (Python < 3.10)
1313
# noinspection PyShadowingBuiltins
1414
async def anext(iterator):

tests/execution/test_subscribe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from pytest import mark, raises
2323

2424
try:
25-
anext # type: ignore
25+
anext
2626
except NameError: # pragma: no cover (Python < 3.10)
2727
# noinspection PyShadowingBuiltins
2828
async def anext(iterator):

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ python =
2020

2121
[testenv:black]
2222
basepython = python3.14
23-
deps = black==26.1.0
23+
deps = black==26.5.1
2424
commands =
2525
black src tests setup.py -t py37 --check
2626

2727
[testenv:flake8]
2828
basepython = python3.14
29-
deps = flake8>=7,<8
29+
deps = flake8>=7.3,<8
3030
commands =
3131
flake8 src tests setup.py
3232

3333
[testenv:mypy]
3434
basepython = python3.14
3535
deps =
36-
mypy>=1.19,<2
36+
mypy>=2.1,<3
3737
pytest>=8.4,<9
3838
commands =
3939
mypy src tests

0 commit comments

Comments
 (0)