Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: [pre-commit.ci] autoupdate #373

Merged
merged 3 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.4
hooks:
- id: ruff

Expand Down
2 changes: 1 addition & 1 deletion src/npe2/plugin_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def iter_themes() -> Iterator[contributions.ThemeContribution]:


def iter_compatible_readers(
path: Union[PathLike, Sequence[str]]
path: Union[PathLike, Sequence[str]],
) -> Iterator[contributions.ReaderContribution]:
"""Iterate over ReaderContributions compatible with `path`."""

Expand Down
2 changes: 1 addition & 1 deletion tests/sample/my_plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class SomeWidget: ...
def random_data():
import numpy as np

return [(np.random.rand(10, 10))]
return [np.random.rand(10, 10)]


def make_widget_from_function(image: "napari.types.ImageData", threshold: int): ...
Loading