From 4a838e2415c2ed8c9d996c77e4b3f01b1a962890 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 18:39:31 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/xscen/diagnostics.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xscen/diagnostics.py b/src/xscen/diagnostics.py index 89af5733..92e895e9 100644 --- a/src/xscen/diagnostics.py +++ b/src/xscen/diagnostics.py @@ -9,7 +9,6 @@ from types import ModuleType from typing import Union - import numpy as np import xarray as xr import xclim as xc @@ -535,7 +534,7 @@ def measures_heatmap( def measures_improvement( - meas_datasets: Union[list[xr.Dataset], dict], + meas_datasets: list[xr.Dataset] | dict, dim: str | Sequence[str] | None = None, to_level: str = "diag-improved", ) -> xr.Dataset: