From c75062e1a01963ac00e105d3acd2e760dfc280ef Mon Sep 17 00:00:00 2001 From: Zach White Date: Tue, 4 Feb 2025 15:48:35 -0800 Subject: [PATCH] mypy --- milc/_sparkline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milc/_sparkline.py b/milc/_sparkline.py index 5518db9..18ebe43 100644 --- a/milc/_sparkline.py +++ b/milc/_sparkline.py @@ -103,7 +103,7 @@ def sparkline( if int_range == 0: spark_int = 0 else: - spark_int = (i-min_value) / int_range * 8 # type: ignore[operator] + spark_int = (i-min_value) / int_range * 8 # type: ignore[operator,assignment] if spark_int > 7: spark_int = 7