misc(aurora): pep 604 compliance
This commit is contained in:
parent
946e14ee3c
commit
ab878739c4
9 changed files with 45 additions and 45 deletions
|
@ -7,7 +7,7 @@ from aurora.utilities.factory import addrole_embed
|
|||
|
||||
|
||||
class Addrole(ui.View):
|
||||
def __init__(self, ctx: commands.Context, message: Message, timeout: int = None):
|
||||
def __init__(self, ctx: commands.Context, message: Message, timeout: int | None = None):
|
||||
super().__init__()
|
||||
self.ctx = ctx
|
||||
self.message = message
|
||||
|
|
|
@ -7,7 +7,7 @@ from aurora.utilities.utils import create_pagesize_options
|
|||
|
||||
|
||||
class Guild(ui.View):
|
||||
def __init__(self, ctx: commands.Context, message: Message, timeout: int = None):
|
||||
def __init__(self, ctx: commands.Context, message: Message, timeout: int | None = None):
|
||||
super().__init__()
|
||||
self.ctx = ctx
|
||||
self.message = message
|
||||
|
|
|
@ -7,7 +7,7 @@ from aurora.utilities.factory import immune_embed
|
|||
|
||||
|
||||
class Immune(ui.View):
|
||||
def __init__(self, ctx: commands.Context, message: Message, timeout: int = None):
|
||||
def __init__(self, ctx: commands.Context, message: Message, timeout: int | None = None):
|
||||
super().__init__()
|
||||
self.ctx = ctx
|
||||
self.message = message
|
||||
|
|
|
@ -7,7 +7,7 @@ from aurora.utilities.utils import create_pagesize_options
|
|||
|
||||
|
||||
class Overrides(ui.View):
|
||||
def __init__(self, ctx: commands.Context, message: Message, timeout: int = None):
|
||||
def __init__(self, ctx: commands.Context, message: Message, timeout: int | None = None):
|
||||
super().__init__()
|
||||
self.ctx = ctx
|
||||
self.message = message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue