PrefectHQ
prefect
BlogDocsChangelog

chore: switch to ty type checker

#19835
Comparing
chore/switch-to-ty
(
b26f62d
) with
main
(
370afe4
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
463 µs463.2 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s

Ignored

bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+8%
33.7 ms31.3 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+89%
11.4 ms6 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
169.1 ms166.7 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
107.7 ms107.7 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
1.1 s1.1 s
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
5.6 ms5.6 ms

Commits

Click on a commit to change the comparison range
Base
main
370afe4
-0.15%
chore: switch to ty type checker ty is astral's new extremely fast python type checker written in rust. this replaces mypy in pre-commit with ty while keeping mypy for the pytest-mypy-plugins typesafety tests. starting with permissive rules - all existing errors are ignored for now and can be gradually enabled as we fix them. see https://astral.sh/blog/ty 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
b26f62d
4 hours ago
by zzstoatzz
© 2025 CodSpeed Technology
Home Terms Privacy Docs