ci: [pre-commit.ci] autoupdate (#282)

* ci: [pre-commit.ci] autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.4 → v0.9.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.4...v0.9.9)
- [github.com/pre-commit/mirrors-mypy: v1.14.1 → v1.15.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.14.1...v1.15.0)

* style: [pre-commit.ci] auto fixes [...]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot]
2025-03-16 11:35:09 -04:00
committed by GitHub
parent e990284bd1
commit 22372f58a4
4 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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:

View File

@@ -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

View File

@@ -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",