fix pyright errors when importing from constants

#4907Merged
Comparing
lendemor/fix_pyright_on_constants
(
2c11eff
) with
main
(
3a6f747
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
12
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_compile_page[_simple_page]
tests/benchmarks/test_compilation.py::test_compile_page[_simple_page]
CodSpeed Performance Gauge
+1%
2.2 ms
2.2 ms
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py::test_get_all_imports[_complicated_page]
CodSpeed Performance Gauge
+1%
30.8 ms
30.5 ms
test_get_all_imports[_simple_page]
tests/benchmarks/test_compilation.py::test_get_all_imports[_simple_page]
CodSpeed Performance Gauge
0%
466.3 µs
464.9 µs
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py::test_evaluate_page[_complicated_page]
CodSpeed Performance Gauge
0%
81.5 ms
81.4 ms
test_compile_page[_complicated_page]
tests/benchmarks/test_compilation.py::test_compile_page[_complicated_page]
CodSpeed Performance Gauge
0%
133.4 ms
133.3 ms
test_compile_page[_stateful_page]
tests/benchmarks/test_compilation.py::test_compile_page[_stateful_page]
CodSpeed Performance Gauge
0%
16.6 ms
16.6 ms
test_evaluate_page[_simple_page]
tests/benchmarks/test_evaluate.py::test_evaluate_page[_simple_page]
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py::test_compile_stateful[_stateful_page]
CodSpeed Performance Gauge
0%
365.5 µs
366 µs
test_compile_stateful[_complicated_page]
tests/benchmarks/test_compilation.py::test_compile_stateful[_complicated_page]
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py::test_get_all_imports[_stateful_page]
CodSpeed Performance Gauge
0%
3.9 ms
3.9 ms
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py::test_evaluate_page[_stateful_page]
CodSpeed Performance Gauge
-1%
11 ms
11.1 ms
test_compile_stateful[_simple_page]
tests/benchmarks/test_compilation.py::test_compile_stateful[_simple_page]
CodSpeed Performance Gauge
-2%
262.6 µs
268 µs

Commits

Click on a commit to change the comparison range
Base
main
3a6f747
0%
fix pyright errors when importing from constants
2c11eff
29 days ago
by Lendemor
© 2025 CodSpeed Technology