Skip to content

Commit ccd2d6c

Browse files
GH1222 Add ty to repo
1 parent cbb6723 commit ccd2d6c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ jobs:
4444
- name: Install pandas-stubs and run tests on the installed stubs
4545
run: poetry run poe test_dist
4646

47+
- name: Run ty on current repo
48+
run: poetry run ty check pandas-stubs
49+
50+
- name: Run ty on current repo
51+
run: poetry run ty check tests
52+
4753
precommit:
4854
runs-on: ubuntu-latest
4955
timeout-minutes: 10

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ packages = [{ "include" = "pandas-stubs" }]
3333
python = ">=3.10"
3434
types-pytz = ">= 2022.1.1"
3535
numpy = ">= 1.23.5"
36+
ty = "^0.0.1a5"
3637

3738
[tool.poetry.group.dev.dependencies]
3839
mypy = "1.15.0"

0 commit comments

Comments
 (0)