Skip to content

Commit 6a40c47

Browse files
committed
... ruff format
1 parent cc351c3 commit 6a40c47

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/test_dataclass_like.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ class decorator (a-la `@dataclass`) adds a new `__init__`` method to a
8888
class.
8989
9090
"""
91+
92+
9193
def dataclass_ish[T](
9294
cls: type[T],
9395
) -> typing.UpdateClass[
@@ -102,6 +104,8 @@ def dataclass_ish[T](
102104
Or to create a base class (a-la Pydantic) that does.
103105
104106
"""
107+
108+
105109
class Model:
106110
def __init_subclass__[T](
107111
cls: type[T],
@@ -112,8 +116,6 @@ def __init_subclass__[T](
112116
super().__init_subclass__()
113117

114118

115-
116-
117119
# End PEP section
118120

119121

0 commit comments

Comments
 (0)