jquast
wcwidth
BlogDocsChangelog

Add Type checking to CI and correct mypy errors

#183Merged
Comparing
jq/mypy-enforced-typecheck
(
a7c6571
) with
master
(
7b46385
)
CodSpeed Performance Gauge
0%
Untouched
38

Benchmarks

38 total
test_strip_sequences_simple
tests/test_benchmarks.py
CodSpeed Performance Gauge
+3%
27.5 µs26.6 µs
test_strip_sequences_complex
tests/test_benchmarks.py
CodSpeed Performance Gauge
+3%
32.4 µs31.6 µs
test_wcswidth_short_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
+2%
20.8 µs20.4 µs
test_center_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
28.7 µs28.3 µs
test_rjust_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
27.5 µs27.1 µs
test_wcswidth_short_mixed
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
34.3 µs33.8 µs
test_ljust_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
27.5 µs27.2 µs
test_width_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
42.5 µs42.3 µs
test_wcwidth_emoji
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
14.3 µs14.2 µs
test_iter_sequences_mixed
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
55.1 µs54.8 µs
test_wcwidth_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
21.1 µs21 µs
test_clip_japanese
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
125.1 µs124.7 µs
test_iter_graphemes_combining
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
315.2 µs314.4 µs
test_wcwidth_wide
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
17.2 µs17.2 µs
test_ljust_japanese
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
43.8 µs43.7 µs
test_width_complex_ansi
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
52.8 µs52.7 µs
test_width_udhr
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
139 ms138.9 ms
test_wrap_japanese
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
5.3 ms5.3 ms
test_rjust_japanese
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
43.6 µs43.6 µs
test_wrap_udhr
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
654.7 ms654.9 ms
test_wrap_long_text
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
4.3 ms4.3 ms
test_center_udhr_lines
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
test_wcswidth_long_japanese
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
278.6 µs279 µs
test_ljust_udhr_lines
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.8 ms1.8 ms
test_rjust_udhr_lines
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.8 ms1.8 ms

Commits

Click on a commit to change the comparison range
Base
master
7b46385
+0.1%
Add missing target, 'mypy' to linting step
0fa4086
14 hours ago
by jquast
+0.52%
Use monkeytype.. then delete it
ec4a226
14 hours ago
by jquast
-0.1%
pylint vs. isort vs. mypy yak party
ec7e8e4
13 hours ago
by jquast
-0.38%
don't forget the template ..
3845cda
13 hours ago
by jquast
+0.02%
don't measure coverage 'if TYPE_CHECKING'
99ae290
13 hours ago
by jquast
+0.11%
pragma: no cover always more yaks
a4500f1
13 hours ago
by jquast
0%
According to isort, we need more empty lines ..
a7c6571
12 hours ago
by jquast
© 2026 CodSpeed Technology
Home Terms Privacy Docs