From 0c447eb78cf59f23d3a300ab735f589578a2d239 Mon Sep 17 00:00:00 2001 From: AlgoFoe Date: Mon, 22 Jun 2026 22:15:15 +0530 Subject: [PATCH 1/2] update typehint for **kwargs to Any --- brainrender/atlas.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/brainrender/atlas.py b/brainrender/atlas.py index 18310f17..4e0e8cc2 100644 --- a/brainrender/atlas.py +++ b/brainrender/atlas.py @@ -2,6 +2,7 @@ import numpy as np import numpy.typing as npt +from typing import Any from brainglobe_atlasapi.bg_atlas import BrainGlobeAtlas from loguru import logger from vedo import Plane @@ -140,7 +141,7 @@ def get_plane( sy: float | None = None, color: str = "lightgray", alpha: float = 0.25, - **kwargs: object, + **kwargs: Any, ) -> Actor: """ Returns a plane going through a point at pos, oriented From 2b9ac7309bdadc4b35a0ca838f8f01517550ccf1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 16:53:29 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- brainrender/atlas.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/brainrender/atlas.py b/brainrender/atlas.py index 4e0e8cc2..d53c6ac8 100644 --- a/brainrender/atlas.py +++ b/brainrender/atlas.py @@ -1,8 +1,9 @@ """Atlas subclass adding region and plane Actor support for scenes.""" +from typing import Any + import numpy as np import numpy.typing as npt -from typing import Any from brainglobe_atlasapi.bg_atlas import BrainGlobeAtlas from loguru import logger from vedo import Plane