mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-02 01:23:24 +08:00
Remove unnecessary ellipsis expressions (#9976)
Ignore flake8 F821 warnings in stub files
This commit is contained in:
@@ -25,10 +25,10 @@ from pysftp.helpers import (
|
||||
)
|
||||
|
||||
class CnOpts:
|
||||
log: bool = ...
|
||||
compression: bool = ...
|
||||
ciphers: Sequence[str] | None = ...
|
||||
hostkeys: paramiko.HostKeys | None = ...
|
||||
log: bool
|
||||
compression: bool
|
||||
ciphers: Sequence[str] | None
|
||||
hostkeys: paramiko.HostKeys | None
|
||||
def __init__(self, knownhosts: str | None = None) -> None: ...
|
||||
def get_hostkey(self, host: str) -> paramiko.PKey: ...
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
class ConnectionException(Exception):
|
||||
message: str = ...
|
||||
message: str
|
||||
def __init__(self, host: str, port: int) -> None: ...
|
||||
|
||||
class CredentialException(Exception):
|
||||
message: str = ...
|
||||
message: str
|
||||
def __init__(self, message: str) -> None: ...
|
||||
|
||||
class HostKeysException(Exception): ...
|
||||
|
||||
Reference in New Issue
Block a user