diff options
| author | 2018-07-25 14:09:30 +0100 | |
|---|---|---|
| committer | 2018-07-25 14:09:30 +0100 | |
| commit | ab5ffc54abe1166b3006b6e8a9b94c425e294631 (patch) | |
| tree | f79ac4fdac4534cbb85e9a78fe742919bb6045e7 | |
| parent | Change activity to say "Commands" instead of "Help" (diff) | |
Linting
| -rw-r--r-- | bot/cogs/defcon.py | 2 | ||||
| -rw-r--r-- | bot/constants.py | 14 | 
2 files changed, 8 insertions, 8 deletions
| diff --git a/bot/cogs/defcon.py b/bot/cogs/defcon.py index 68bed418c..45d5bb417 100644 --- a/bot/cogs/defcon.py +++ b/bot/cogs/defcon.py @@ -5,7 +5,7 @@ from discord import Colour, Embed, Member  from discord.ext.commands import Bot, Context, command  from bot.cogs.modlog import ModLog -from bot.constants import Channels, Keys, Roles, URLs, Icons, Emojis +from bot.constants import Channels, Emojis, Icons, Keys, Roles, URLs  from bot.decorators import with_role  log = logging.getLogger(__name__) diff --git a/bot/constants.py b/bot/constants.py index e61952ead..adfd5d014 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -202,9 +202,9 @@ class Emojis(metaclass=YAMLGetter):      section = "bot"      subsection = "emojis" -    defcon_disabled: str -    defcon_enabled: str -    defcon_updated: str +    defcon_disabled: str  # noqa: E704 +    defcon_enabled: str  # noqa: E704 +    defcon_updated: str  # noqa: E704      green_chevron: str      red_chevron: str @@ -222,10 +222,10 @@ class Icons(metaclass=YAMLGetter):      crown_green: str      crown_red: str -    defcon_denied: str -    defcon_disabled: str -    defcon_enabled: str -    defcon_updated: str +    defcon_denied: str  # noqa: E704 +    defcon_disabled: str  # noqa: E704 +    defcon_enabled: str  # noqa: E704 +    defcon_updated: str  # noqa: E704      guild_update: str | 
