Skip to content

Commit 7c37421

Browse files
pre-commit-ci[bot]Abraham Murciano
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent 0134a52 commit 7c37421

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

stubs/punq/@test/stubtest_allowlist.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
punq._Empty.__init__

stubs/punq/punq/__init__.pyi

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,7 @@ class Container:
7676
def register(self, service: type[_T] | str, *, instance: _T, **kwargs: Any) -> Container: ...
7777
@overload
7878
def register(
79-
self,
80-
service: type[_T] | str,
81-
factory: Callable[..., _T] | _Empty = ...,
82-
*,
83-
scope: Scope = Scope.transient,
84-
**kwargs: Any,
79+
self, service: type[_T] | str, factory: Callable[..., _T] | _Empty = ..., *, scope: Scope = Scope.transient, **kwargs: Any
8580
) -> Container: ...
8681
@overload
8782
def register(

0 commit comments

Comments
 (0)