Skip to content

ci(pre-commit.ci): autoupdate #227

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

Merged
merged 2 commits into from
Oct 5, 2023
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 @@ -13,13 +13,13 @@ repos:
exclude: ^tests|^docs

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.287
rev: v0.0.292
hooks:
- id: ruff
args: [--fix]

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
exclude: ^docs
Expand Down
4 changes: 2 additions & 2 deletions src/ome_types/model/_structured_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
if pydantic.version.VERSION.startswith("2"):
from pydantic import RootModel, field_validator

class StructuredAnnotationList(OMEType, RootModel, UserSequence[Annotation]): # type: ignore[misc] # noqa: E501
class StructuredAnnotationList(OMEType, RootModel, UserSequence[Annotation]): # type: ignore[misc]
"""A mutable sequence of [`ome_types.model.Annotation`][].

Members of this sequence must be one of the following types:
Expand Down Expand Up @@ -102,7 +102,7 @@ def __eq__(self, _value: object) -> bool:

else:

class StructuredAnnotationList(OMEType, UserSequence[Annotation]): # type: ignore # noqa: E501
class StructuredAnnotationList(OMEType, UserSequence[Annotation]): # type: ignore
"""A mutable sequence of [`ome_types.model.Annotation`][].

Members of this sequence must be one of the following types:
Expand Down