Skip to content

Commit a43900c

Browse files
committed
Separate mypy from tests extra.
1 parent 1b7c338 commit a43900c

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎CHANGELOG.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
* asgiref is now tested against the free-threaded builds of Python 3.13 and
4848
3.14 in CI.
4949

50+
* The ``tests`` extra no longer installs ``mypy``; a new ``mypy`` extra is
51+
available for type-checking the codebase.
52+
5053
3.11.1 (2026-02-03)
5154
-------------------
5255

‎setup.cfg‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ zip_safe = false
4040
tests =
4141
pytest
4242
pytest-asyncio
43+
mypy =
4344
mypy>=1.14.0
4445

4546
[tool:pytest]

‎tox.ini‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ envlist =
66

77
[testenv]
88
usedevelop = true
9-
extras = tests
9+
extras =
10+
tests
11+
mypy: mypy
1012
commands =
1113
test: pytest -v {posargs}
1214
mypy: mypy . {posargs}

0 commit comments

Comments
 (0)