diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6c1c17c..28f5c9c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.4 + rev: v0.9.9 hooks: - id: ruff args: [--fix, --unsafe-fixes] @@ -17,7 +17,7 @@ repos: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.14.1 + rev: v1.15.0 hooks: - id: mypy exclude: tests|examples diff --git a/src/superqt/__init__.py b/src/superqt/__init__.py index ebe0c61..2bb7f9b 100644 --- a/src/superqt/__init__.py +++ b/src/superqt/__init__.py @@ -56,9 +56,9 @@ __all__ = [ ] if TYPE_CHECKING: - from .combobox import QColormapComboBox # noqa: TC004 - from .iconify import QIconifyIcon # noqa: TC004 - from .spinbox._quantity import QQuantity # noqa: TC004 + from .combobox import QColormapComboBox + from .iconify import QIconifyIcon + from .spinbox._quantity import QQuantity def __getattr__(name: str) -> Any: diff --git a/src/superqt/combobox/__init__.py b/src/superqt/combobox/__init__.py index 1041f51..f14b558 100644 --- a/src/superqt/combobox/__init__.py +++ b/src/superqt/combobox/__init__.py @@ -13,7 +13,7 @@ __all__ = ( if TYPE_CHECKING: - from superqt.cmap import QColormapComboBox # noqa: TC004 + from superqt.cmap import QColormapComboBox def __getattr__(name: str) -> Any: # pragma: no cover diff --git a/src/superqt/utils/__init__.py b/src/superqt/utils/__init__.py index 2d12cc4..4ed4386 100644 --- a/src/superqt/utils/__init__.py +++ b/src/superqt/utils/__init__.py @@ -1,7 +1,7 @@ from typing import TYPE_CHECKING, Any if TYPE_CHECKING: - from superqt.cmap import draw_colormap # noqa: TC004 + from superqt.cmap import draw_colormap __all__ = ( "CodeSyntaxHighlight",