mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 11:41:49 +02:00
fix: minor fixes for type annotations
This commit is contained in:
@ -1,3 +1,5 @@
|
|||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
import itertools
|
import itertools
|
||||||
from typing import Type
|
from typing import Type
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
from bec_lib.endpoints import MessageEndpoints
|
from bec_lib.endpoints import MessageEndpoints
|
||||||
from qtpy.QtCore import Qt, Slot
|
from qtpy.QtCore import Qt, Slot
|
||||||
from qtpy.QtWidgets import QHBoxLayout, QHeaderView, QTableWidget, QTableWidgetItem, QWidget
|
from qtpy.QtWidgets import QHBoxLayout, QHeaderView, QTableWidget, QTableWidgetItem, QWidget
|
||||||
|
@ -65,7 +65,7 @@ add_module_names = False # Remove namespaces from class/method signatures
|
|||||||
autodoc_inherit_docstrings = True # If no docstring, inherit from base class
|
autodoc_inherit_docstrings = True # If no docstring, inherit from base class
|
||||||
set_type_checking_flag = True # Enable 'expensive' imports for sphinx_autodoc_typehints
|
set_type_checking_flag = True # Enable 'expensive' imports for sphinx_autodoc_typehints
|
||||||
autoclass_content = "both" # Include both class docstring and __init__
|
autoclass_content = "both" # Include both class docstring and __init__
|
||||||
autodoc_mock_imports = ["pyqtgraph"]
|
autodoc_mock_imports = ["pyqtgraph", "qtpy", "PySide6"]
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ["_templates"]
|
templates_path = ["_templates"]
|
||||||
|
Reference in New Issue
Block a user