Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repos:
- id: pyupgrade
exclude: \.(po|pot|yml|yaml)$
- repo: https://github.com/PyCQA/isort
rev: 8.0.1
rev: 9.0.0a3
hooks:
- id: isort
exclude: \.(po|pot|yml|yaml)$
Expand Down Expand Up @@ -87,7 +87,7 @@ repos:
args: [--prose-wrap=always, --print-width=88]
exclude: \.(po|pot|yml|yaml)$
- repo: https://github.com/DanielNoord/pydocstringformatter
rev: v0.7.5
rev: v1.0.0
hooks:
- id: pydocstringformatter
exclude: \.(po|pot|yml|yaml)$
Expand Down
6 changes: 1 addition & 5 deletions discord/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@

from ..channel import PartialMessageable, _threaded_guild_channel_factory
from ..enums import Enum as DiscordEnum
from ..enums import (
IntegrationType,
InteractionContextType,
SlashCommandOptionType,
)
from ..enums import IntegrationType, InteractionContextType, SlashCommandOptionType
from ..errors import (
ApplicationCommandError,
ApplicationCommandInvokeError,
Expand Down
5 changes: 1 addition & 4 deletions discord/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,7 @@
from .template import Template
from .types.guild import Ban as BanPayload
from .types.guild import Guild as GuildPayload
from .types.guild import (
GuildFeature,
MFALevel,
)
from .types.guild import GuildFeature, MFALevel
from .types.guild import ModifyIncidents as ModifyIncidentsPayload
from .types.member import Member as MemberPayload
from .types.threads import Thread as ThreadPayload
Expand Down
4 changes: 1 addition & 3 deletions discord/integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@
from .types.integration import (
IntegrationApplication as IntegrationApplicationPayload,
)
from .types.integration import (
IntegrationType,
)
from .types.integration import IntegrationType
from .types.integration import StreamIntegration as StreamIntegrationPayload


Expand Down
4 changes: 1 addition & 3 deletions discord/threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
ChannelType,
)
from .enums import ThreadArchiveDuration as ThreadArchiveDurationEnum
from .enums import (
try_enum,
)
from .enums import try_enum
from .errors import ClientException
from .flags import ChannelFlags
from .mixins import Hashable
Expand Down
Loading