Type-Hint some files that were not type-hinted #101

Open
Sengolda wants to merge 16 commits from unknown repository into 2.0
11 changed files with 19 additions and 370 deletions
Showing only changes of commit 2e1c573b9f - Show all commits

View File

@ -87,7 +87,7 @@ __all__ = ("Client",)
Coro = TypeVar("Coro", bound=Callable[..., Coroutine[Any, Any, Any]])
_log = logging.getLogger(__name__)
_log: logging.Logger = logging.getLogger(__name__)
def _cancel_tasks(loop: asyncio.AbstractEventLoop) -> None:

View File

@ -61,7 +61,7 @@ from .gateway import DiscordClientWebSocketResponse
from . import __version__, utils
from .utils import MISSING
_log = logging.getLogger(__name__)
_log: logging.Logger = logging.getLogger(__name__)
if TYPE_CHECKING:
from .file import File