Avatar for the jeertmans user
jeertmans
DiffeRT
BlogDocsChangelog

chore(ci): using ty for (static) type checking Python files

#292
Comparing
ty
(
51ff3f5
) with
main
(
888cea0
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
8
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_image_method
differt/tests/benchmarks/test_rt.py::test_image_method
CodSpeed Performance Gauge
+2%
5.7 ms
5.6 ms
test_fermat
differt/tests/benchmarks/test_rt.py::test_fermat
CodSpeed Performance Gauge
0%
1.4 s
1.3 s
test_transmitter_visibility
differt/tests/benchmarks/test_rt.py::test_transmitter_visibility
CodSpeed Performance Gauge
0%
972 ms
968.2 ms
test_compute_paths[hybrid]
differt/tests/benchmarks/test_rt.py::test_compute_paths[hybrid]
CodSpeed Performance Gauge
0%
5.9 s
5.8 s
test_train_step
differt/tests/benchmarks/test_training.py::test_train_step
CodSpeed Performance Gauge
0%
6.5 s
6.5 s
test_rays_intersect_any_triangle
differt/tests/benchmarks/test_rt.py::test_rays_intersect_any_triangle
CodSpeed Performance Gauge
0%
4.3 s
4.3 s
test_first_triangles_hit_by_rays
differt/tests/benchmarks/test_rt.py::test_first_triangles_hit_by_rays
CodSpeed Performance Gauge
0%
5.8 s
5.8 s
test_compute_paths[exhaustive]
differt/tests/benchmarks/test_rt.py::test_compute_paths[exhaustive]
CodSpeed Performance Gauge
-2%
35.3 ms
36 ms

Commits

Click on a commit to change the comparison range
Base
main
888cea0
+0.1%
chore(ci): using ty for (static) type checking Python files ty is still in early development and this PR aims at experimenting with it, slowly introducing it to the codebase and eventually replace Pyright (or use both). Tracking issues: + Support for `ParamSpec`: https://github.com/astral-sh/ty/issues/157 + Pre-commit hook : https://github.com/astral-sh/ty/issues/269 + Support for `TypeAlias`: https://github.com/astral-sh/ty/issues/544
51ff3f5
2 months ago
by jeertmans
© 2025 CodSpeed Technology
Home Terms Privacy Docs