Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 28, 2023
1 parent 401be1c commit 5c90145
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/attr/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ if sys.version_info >= (3, 8):
factory: Callable[[], _T],
takes_self: Literal[False],
) -> _T: ...

else:
@overload
def Factory(factory: Callable[[], _T]) -> _T: ...
Expand Down Expand Up @@ -420,9 +421,7 @@ def define(
mutable = define

@overload
@dataclass_transform(
frozen_default=True, field_descriptors=(attrib, field)
)
@dataclass_transform(frozen_default=True, field_descriptors=(attrib, field))
def frozen(
maybe_cls: _C,
*,
Expand All @@ -448,9 +447,7 @@ def frozen(
match_args: bool = ...,
) -> _C: ...
@overload
@dataclass_transform(
frozen_default=True, field_descriptors=(attrib, field)
)
@dataclass_transform(frozen_default=True, field_descriptors=(attrib, field))
def frozen(
maybe_cls: None = ...,
*,
Expand Down

0 comments on commit 5c90145

Please sign in to comment.