Skip to content

Commit 2bc8abb

Browse files
committed
bump
2 parents fabe65d + 06968ab commit 2bc8abb

16 files changed

Lines changed: 32 additions & 1 deletion

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# https://www.sphinx-doc.org/en/master/usage/configuration.html
66

77
# -- Path setup --------------------------------------------------------------
8+
from __future__ import annotations
9+
810
import sys
911
from datetime import datetime
1012
from importlib.metadata import metadata

src/spatialdata_plot/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from importlib.metadata import version
24

35
from . import pl

src/spatialdata_plot/_accessor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import spatialdata as sd
24
from xarray.core.extensions import _register_accessor
35

src/spatialdata_plot/_logging.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# from https://github.com/scverse/spatialdata/blob/main/src/spatialdata/_logging.py
2+
from __future__ import annotations
23

34
import logging
45

56

6-
def _setup_logger() -> "logging.Logger":
7+
def _setup_logger() -> logging.Logger:
78
from rich.console import Console
89
from rich.logging import RichHandler
910

src/spatialdata_plot/pl/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from .basic import PlotAccessor
24

35
__all__ = [

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from abc import ABC, ABCMeta
24
from collections.abc import Callable
35
from functools import wraps

tests/pl/test_get_extent.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import math
24

35
import matplotlib

tests/pl/test_render.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import matplotlib.pyplot as plt
24
import pytest
35

tests/pl/test_render_images.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import dask.array as da
24
import matplotlib
35
import numpy as np

tests/pl/test_render_labels.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import dask.array as da
24
import matplotlib
35
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)