mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-20 20:57:03 +08:00
Remove unnecessary ellipsis expressions (#9976)
Ignore flake8 F821 warnings in stub files
This commit is contained in:
1 parent
8df767f163
commit
027460f11a
29 files changed
+287
-294
No files matched your search
@@ -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