diff options
| author | 2020-11-08 15:03:46 +0800 | |
|---|---|---|
| committer | 2020-11-08 15:04:54 +0800 | |
| commit | 472faca4b19419f1101258c876fc5fbbd7da8f3a (patch) | |
| tree | 23bc230c74ada90fd7f169136b13637c71225b27 | |
| parent | Refactor infraction_edit and infraction_append (diff) | |
Remove unnecessary noqa pragma for flake8
| -rw-r--r-- | bot/exts/moderation/infraction/management.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/moderation/infraction/management.py b/bot/exts/moderation/infraction/management.py index 8aeb45f96..97fc7b1d8 100644 --- a/bot/exts/moderation/infraction/management.py +++ b/bot/exts/moderation/infraction/management.py @@ -49,7 +49,7 @@ class ModManagement(commands.Cog): async def infraction_append( self, ctx: Context, - infraction: Infraction, # noqa: F821 + infraction: Infraction, duration: t.Union[Expiry, allowed_strings("p", "permanent"), None], # noqa: F821 *, reason: str = None @@ -87,7 +87,7 @@ class ModManagement(commands.Cog): async def infraction_edit( self, ctx: Context, - infraction: Infraction, # noqa: F821 + infraction: Infraction, duration: t.Union[Expiry, allowed_strings("p", "permanent"), None], # noqa: F821 *, reason: str = None |