1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-01-01 19:41:18 +01:00

fix(type hints): add future import to prevent sphinx from crashing

This commit is contained in:
2025-04-25 12:21:21 +02:00
parent b4af2cc77a
commit aff5a51f4c
4 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
from __future__ import annotations
from bec_widgets.widgets.containers.auto_update.auto_updates import AutoUpdates
from bec_widgets.widgets.containers.dock.dock_area import BECDockArea

View File

@@ -1,6 +1,8 @@
""" Module for a thin wrapper (LinearRegionWrapper) around the LinearRegionItem in pyqtgraph.
The class is mainly designed for usage with the BECWaveform and 1D plots. """
from __future__ import annotations
import pyqtgraph as pg
from qtpy.QtCore import QObject, Signal, Slot
from qtpy.QtGui import QColor

View File

@@ -1,3 +1,5 @@
from __future__ import annotations
import math
import sys
from typing import Dict, Literal, Optional, Set, Tuple, Union

View File

@@ -1,3 +1,5 @@
from __future__ import annotations
import sys
from bec_qthemes import material_icon