mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2026-09-10 10:46:00 +00:00
Make pyright happy
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
def encrypt_ige(plaintext: bytes, key: bytes, iv: bytes, /) -> bytes: ...
|
||||
def decrypt_ige(ciphertext: bytes, key: bytes, iv: bytes, /) -> bytes: ...
|
||||
@@ -0,0 +1,6 @@
|
||||
from typing import List
|
||||
|
||||
class AES:
|
||||
def __init__(self, key: bytes) -> None: ...
|
||||
def encrypt(self, plaintext: List[int]) -> List[int]: ...
|
||||
def decrypt(self, ciphertext: List[int]) -> List[int]: ...
|
||||
@@ -0,0 +1,15 @@
|
||||
from typing import Any, Dict, Optional
|
||||
|
||||
def build_wheel(
|
||||
wheel_directory: str,
|
||||
config_settings: Optional[Dict[Any, Any]] = None,
|
||||
metadata_directory: Optional[str] = None,
|
||||
) -> str: ...
|
||||
def build_sdist(
|
||||
sdist_directory: str, config_settings: Optional[Dict[Any, Any]] = None
|
||||
) -> str: ...
|
||||
def build_editable(
|
||||
wheel_directory: str,
|
||||
config_settings: Optional[Dict[Any, Any]] = None,
|
||||
metadata_directory: Optional[str] = None,
|
||||
) -> str: ...
|
||||
@@ -0,0 +1,19 @@
|
||||
from typing import Any, Dict, Optional
|
||||
|
||||
class build_meta:
|
||||
@staticmethod
|
||||
def build_wheel(
|
||||
wheel_directory: str,
|
||||
config_settings: Optional[Dict[Any, Any]] = None,
|
||||
metadata_directory: Optional[str] = None,
|
||||
) -> str: ...
|
||||
@staticmethod
|
||||
def build_sdist(
|
||||
sdist_directory: str, config_settings: Optional[Dict[Any, Any]] = None
|
||||
) -> str: ...
|
||||
@staticmethod
|
||||
def build_editable(
|
||||
wheel_directory: str,
|
||||
config_settings: Optional[Dict[Any, Any]] = None,
|
||||
metadata_directory: Optional[str] = None,
|
||||
) -> str: ...
|
||||
Reference in New Issue
Block a user