Skip to content

Commit cddd828

Browse files
committed
incredible formatting choice, wish I could disable this single one
1 parent dbbd2da commit cddd828

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/async_utils/_qs.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,10 @@
3535
_contraT = typing.TypeVar("_contraT", contravariant=True)
3636

3737
class LT(typing.Protocol[_contraT]):
38-
def __lt__(self, other: _contraT) -> bool:
39-
...
38+
def __lt__(self, other: _contraT) -> bool: ...
4039

4140
class GT(typing.Protocol[_contraT]):
42-
def __gt__(self, other: _contraT) -> bool:
43-
...
41+
def __gt__(self, other: _contraT) -> bool: ...
4442

4543
type HeapqOrderable = LT[t.Any] | GT[t.Any]
4644

@@ -55,12 +53,10 @@ def __class_getitem__(cls, key: None) -> t.Any:
5553
_contraT = typing.TypeVar("_contraT", contravariant=True) # noqa: RUF052
5654

5755
class LT(typing.Protocol[_contraT]):
58-
def __lt__(self, other: _contraT) -> bool:
59-
...
56+
def __lt__(self, other: _contraT) -> bool: ...
6057

6158
class GT(typing.Protocol[_contraT]):
62-
def __gt__(self, other: _contraT) -> bool:
63-
...
59+
def __gt__(self, other: _contraT) -> bool: ...
6460

6561
return LT[t.Any] | GT[t.Any]
6662

0 commit comments

Comments
 (0)