Skip to content

Commit 2f7adb2

Browse files
ci(pre-commit.ci): autoupdate (#227)
* 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>
1 parent 06aa129 commit 2f7adb2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ repos:
1313
exclude: ^tests|^docs
1414

1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.0.287
16+
rev: v0.0.292
1717
hooks:
1818
- id: ruff
1919
args: [--fix]
2020

2121
- repo: https://github.com/psf/black
22-
rev: 23.7.0
22+
rev: 23.9.1
2323
hooks:
2424
- id: black
2525
exclude: ^docs

src/ome_types/model/_structured_annotations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
if pydantic.version.VERSION.startswith("2"):
4141
from pydantic import RootModel, field_validator
4242

43-
class StructuredAnnotationList(OMEType, RootModel, UserSequence[Annotation]): # type: ignore[misc] # noqa: E501
43+
class StructuredAnnotationList(OMEType, RootModel, UserSequence[Annotation]): # type: ignore[misc]
4444
"""A mutable sequence of [`ome_types.model.Annotation`][].
4545
4646
Members of this sequence must be one of the following types:
@@ -102,7 +102,7 @@ def __eq__(self, _value: object) -> bool:
102102

103103
else:
104104

105-
class StructuredAnnotationList(OMEType, UserSequence[Annotation]): # type: ignore # noqa: E501
105+
class StructuredAnnotationList(OMEType, UserSequence[Annotation]): # type: ignore
106106
"""A mutable sequence of [`ome_types.model.Annotation`][].
107107
108108
Members of this sequence must be one of the following types:

0 commit comments

Comments
 (0)