Skip to content

Commit 476de15

Browse files
committed
chore: mention ty
Signed-off-by: Henry Schreiner <[email protected]>
1 parent ee94d49 commit 476de15

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

slides/week-08-1.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,14 @@ times_three(["hi"])
6363

6464
## Optional static typing (2)
6565

66-
Python doesn't care about type annotations! Some are accessible to libraries, but using that is not as common.
67-
68-
How do you use the type annotations? With a type checker!
66+
Python doesn't care about type annotations! Some are accessible to libraries, but using that is not as common. Use via a type checker!
6967

7068
- MyPy: The original type checker, from the CPython authors.
7169
- PyRight: Microsoft's type checker. Powers PyLance in VSCode.
72-
- PyRE: Meta's type checker, written for Instagram. In OCaml.
73-
- PyType: Google's type checker with inference. Python + UNIX.
70+
- PyRE (Pyrefly): Meta's type checker for Instagram. In OCaml (Rust).
71+
- PyType: Google's type checker with inference. Deprecated.
7472
- PyCharm also has a built-in one.
73+
- Ty (beta): from Astral, written in Rust. (Ruff/uv devs)
7574

7675
---
7776

0 commit comments

Comments
 (0)