Skip to content

Commit

Permalink
Formatting...
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerrie-Aries committed Nov 30, 2023
1 parent 2713e21 commit ed4e54e
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion announcement/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def _color_converter(value: str) -> int:


class AnnouncementType(Enum):

# only two are valid for now. may add more later.
NORMAL = "normal"
EMBED = "embed"
Expand Down
2 changes: 0 additions & 2 deletions announcement/core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def __init__(self, name: str, **kwargs):


class AnnouncementModal(Modal):

children: List[AnnouncementTextInput]

def __init__(self, view: AnnouncementView, options: Dict[str, Any]):
Expand Down Expand Up @@ -99,7 +98,6 @@ async def callback(self, interaction: Interaction):


class AnnouncementView(View):

children: List[AnnouncementViewButton]

def __init__(self, ctx: commands.Context, announcement: AnnouncementModel, *, timeout: float = 600.0):
Expand Down
2 changes: 0 additions & 2 deletions giveaway/core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def __init__(self, name: str, **kwargs):


class GiveawayModal(Modal):

children: List[GiveawayTextInput]

def __init__(self, view: GiveawayView):
Expand Down Expand Up @@ -69,7 +68,6 @@ async def callback(self, interaction: Interaction):


class GiveawayView(View):

children: List[GiveawayViewButton]

def __init__(self, ctx: commands.Context, *, timeout: float = 600.0):
Expand Down
1 change: 0 additions & 1 deletion logviewer/core/servers.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ async def render_template(
*args: Any,
**kwargs: Any,
) -> Response:

kwargs["app"] = request.app
kwargs["config"] = self.config
kwargs["favicon"] = self.favicon
Expand Down
1 change: 0 additions & 1 deletion rolemanager/core/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ def error(self, message):


class Args(commands.Converter):

__slots__ = "vals"

@classmethod
Expand Down
1 change: 0 additions & 1 deletion rolemanager/core/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@


class ReactRules(Enum):

NORMAL = "NORMAL" # Allow multiple.
UNIQUE = "UNIQUE" # Remove existing role when assigning another role in group.
VERIFY = "VERIFY" # Not Implemented yet.
Expand Down
1 change: 0 additions & 1 deletion rolemanager/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ def __init__(self, cog: RoleManager, *, data: ReactRoleConfigPayload):
self._populate_entries_from_data(data=data.pop("data"))

def _populate_entries_from_data(self, *, data: List[ReactRolePayload]) -> None:

for entry in data:
try:
reactrole = ReactionRole.from_data(self, data=entry)
Expand Down
1 change: 0 additions & 1 deletion rolemanager/core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@


class Modal(ui.Modal):

children: List[ui.TextInput]

def __init__(self, view: ui.View, options: List[Dict[str, Any]], callback: Callback, **kwargs):
Expand Down
1 change: 0 additions & 1 deletion supportutils/core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@


class Modal(uiModal):

children: List[TextInput]

async def on_submit(self, interaction: Interaction) -> None:
Expand Down
1 change: 0 additions & 1 deletion utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ async def utils_reorder(self, ctx: commands.Context):
utils_pos = True
continue
try:

extension = self.bot.extensions[plugin.ext_string]
if not hasattr(extension, "__plugin_info__"):
continue
Expand Down

0 comments on commit ed4e54e

Please sign in to comment.