Currently on python 3.12 mypy detects one of the variables used in the
expression as an zero-element tuple. This module is not getting a lot
of attention so I'm doing the bare minimum to stop the tests from
failing here and silencing mypy with a magic comment.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
roll_window_size = 6
# rolling means generator
- dataset_size = disk_days_attrs.shape[0] - roll_window_size + 1
+ dataset_size = disk_days_attrs.shape[0] - roll_window_size + 1 # type: ignore
gen = (disk_days_attrs[i: i + roll_window_size, ...].mean(axis=0)
for i in range(dataset_size))
means = np.vstack(gen) # type: ignore