mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Remove unused imports and make exports explicit
This allows Pyright to actually catch these errors, which would be useful for CI purposes in the future.
This commit is contained in:
@ -43,7 +43,13 @@ from .template import *
|
||||
from .widget import *
|
||||
from .object import *
|
||||
from .reaction import *
|
||||
from . import utils, opus, abc, ui, app_commands
|
||||
from . import (
|
||||
utils as utils,
|
||||
opus as opus,
|
||||
abc as abc,
|
||||
ui as ui,
|
||||
app_commands as app_commands,
|
||||
)
|
||||
from .enums import *
|
||||
from .embeds import *
|
||||
from .mentions import *
|
||||
|
@ -26,8 +26,6 @@ from __future__ import annotations
|
||||
|
||||
from typing import Callable, Dict, Iterable, List, Optional, Union, TYPE_CHECKING
|
||||
from datetime import datetime
|
||||
import time
|
||||
import asyncio
|
||||
|
||||
from .mixins import Hashable
|
||||
from .abc import Messageable, _purge_helper
|
||||
|
Reference in New Issue
Block a user