Skip to content

Commit

Permalink
ci(pre-commit.ci): autoupdate (#227)
Browse files Browse the repository at this point in the history
* ci(pre-commit.ci): autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.292](astral-sh/ruff-pre-commit@v0.0.287...v0.0.292)
- [github.com/psf/black: 23.7.0 → 23.9.1](psf/black@23.7.0...23.9.1)

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Oct 5, 2023
1 parent 06aa129 commit 2f7adb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 2f7adb2

Please sign in to comment.