Skip to content

Commit cfe759a

Browse files
committed
Added mypy and ty to CI
1 parent 72fc947 commit cfe759a

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ jobs:
2727

2828
- run: pip install --group dev-optional
2929
- run: pytest
30+
31+
- run: pip install --group typing
32+
- run: mypy
33+
- run: ty check

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ dev-optional = [
3535
"numpy",
3636
"scipy"
3737
]
38+
typing = [
39+
"mypy",
40+
"ty",
41+
{include-group = "dev-optional"}
42+
]
3843

3944
[tool.pytest.ini_options]
4045
asyncio_mode = "auto"

0 commit comments

Comments
 (0)