Skip to content

Commit c2cbecd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent 0a1aec7 commit c2cbecd

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

stdlib/os/__init__.pyi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,9 +1477,7 @@ def execl(file: StrOrBytesPath, *args: Unpack[tuple[StrOrBytesPath, Unpack[tuple
14771477
def execlp(file: StrOrBytesPath, *args: Unpack[tuple[StrOrBytesPath, Unpack[tuple[StrOrBytesPath, ...]]]]) -> Never: ...
14781478

14791479
# These are: execle(file, *args, env) but env is pulled from the last element of the args.
1480-
def execle(
1481-
file: StrOrBytesPath, *args: Unpack[tuple[StrOrBytesPath, Unpack[tuple[StrOrBytesPath, ...]], _ExecEnv]]
1482-
) -> Never: ...
1480+
def execle(file: StrOrBytesPath, *args: Unpack[tuple[StrOrBytesPath, Unpack[tuple[StrOrBytesPath, ...]], _ExecEnv]]) -> Never: ...
14831481
def execlpe(
14841482
file: StrOrBytesPath, *args: Unpack[tuple[StrOrBytesPath, Unpack[tuple[StrOrBytesPath, ...]], _ExecEnv]]
14851483
) -> Never: ...

stubs/gunicorn/gunicorn/reloader.pyi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ if sys.platform == "linux":
3434

3535
else:
3636
class InotifyReloader:
37-
def __init__(
38-
self, extra_files: Iterable[str] | None = None, callback: Callable[[str], None] | None = None
39-
) -> Never: ...
37+
def __init__(self, extra_files: Iterable[str] | None = None, callback: Callable[[str], None] | None = None) -> Never: ...
4038

4139
_PreferredReloaderType: TypeAlias = type[InotifyReloader | Reloader]
4240
_ReloaderType: TypeAlias = InotifyReloader | Reloader # noqa: Y047

stubs/pyjks/jks/jks.pyi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ class SecretKeyEntry(AbstractKeystoreEntry):
107107

108108
# Not implemented by pyjks
109109
@classmethod
110-
def new( # type: ignore[override]
111-
cls, alias: str, sealed_obj: bool, algorithm: str, key: bytes, key_size: int
112-
) -> Never: ...
110+
def new(cls, alias: str, sealed_obj: bool, algorithm: str, key: bytes, key_size: int) -> Never: ... # type: ignore[override]
113111
# Not implemented by pyjks
114112
def encrypt(self, key_password: str) -> Never: ...
115113

0 commit comments

Comments
 (0)