diff options
author | 2020-11-16 15:56:46 +0100 | |
---|---|---|
committer | 2020-11-16 15:56:46 +0100 | |
commit | 6ca5753d6d566a82917f92d6f9cd6f2c93f1418b (patch) | |
tree | ca50c1efe70376132a05b34aab90d8097b91c9f9 /bot/exts/evergreen | |
parent | Ensure flake8 runs correctly in Pull Request check (diff) |
Fix lint errors introduced by persistence removal
We ripped some features out of the bot to make the migration to
kubernetes easier. However, that process left us with some linting
errors that will play up if anyone makes a PR.
I've added "noqa" to the valid TODO lines and commented out lines that
introduced now unused names or tried to use now undefined names. This
should have no influence on the bot, as it does not touch code that is
actually being run at the moment.
Diffstat (limited to 'bot/exts/evergreen')
-rw-r--r-- | bot/exts/evergreen/branding.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/branding.py b/bot/exts/evergreen/branding.py index b55c9b14..fa607270 100644 --- a/bot/exts/evergreen/branding.py +++ b/bot/exts/evergreen/branding.py @@ -1,6 +1,6 @@ import asyncio import itertools -import json +# import json import logging import random import typing as t @@ -18,7 +18,7 @@ from bot.seasons import SeasonBase, get_all_seasons, get_current_season, get_sea from bot.utils import human_months from bot.utils.decorators import with_role from bot.utils.exceptions import BrandingError -# TODO: Implement substitute for current volume persistence requirements +# TODO: Implement substitute for current volume persistence requirements # noqa: T000 # from bot.utils.persist import make_persistent log = logging.getLogger(__name__) |