Commit bc1a672
committed
Add ty type checker
Add ty configuration. ty provides fast type checking that complements
pyright, while ruff handles missing type hints detection.
ty is not yet reporting as much problems as pyright, but it is
much, much faster, and is already interesting to use interactively.
This change only aims at making ty usable in this project, without
replacing pyright. As such it is not added in the dev dependencies
and must be installed manually, for example with
uv tool install ty
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>1 parent d1dad95 commit bc1a672
2 files changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
36 | 45 | | |
37 | 46 | | |
38 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
0 commit comments