style(import): change to absolute import for Tux

This commit is contained in:
Romain J 2021-01-20 15:08:16 +01:00
parent 0eaa53ffd5
commit c3660aab8a
6 changed files with 6 additions and 6 deletions

View file

@ -1,8 +1,8 @@
from collections import namedtuple from collections import namedtuple
from tuxbot.core.bot import Tux
from .admin import Admin from .admin import Admin
from .config import AdminConfig, HAS_MODELS from .config import AdminConfig, HAS_MODELS
from ...core.bot import Tux
VersionInfo = namedtuple("VersionInfo", "major minor micro release_level") VersionInfo = namedtuple("VersionInfo", "major minor micro release_level")
version_info = VersionInfo(major=2, minor=0, micro=0, release_level="alpha") version_info = VersionInfo(major=2, minor=0, micro=0, release_level="alpha")

View file

@ -1,8 +1,8 @@
from collections import namedtuple from collections import namedtuple
from tuxbot.core.bot import Tux
from .custom import Custom from .custom import Custom
from .config import CustomConfig, HAS_MODELS from .config import CustomConfig, HAS_MODELS
from ...core.bot import Tux
VersionInfo = namedtuple("VersionInfo", "major minor micro release_level") VersionInfo = namedtuple("VersionInfo", "major minor micro release_level")
version_info = VersionInfo(major=1, minor=0, micro=0, release_level="alpha") version_info = VersionInfo(major=1, minor=0, micro=0, release_level="alpha")

View file

@ -1,8 +1,8 @@
from collections import namedtuple from collections import namedtuple
from tuxbot.core.bot import Tux
from .dev import Dev from .dev import Dev
from .config import DevConfig, HAS_MODELS from .config import DevConfig, HAS_MODELS
from ...core.bot import Tux
VersionInfo = namedtuple("VersionInfo", "major minor micro release_level") VersionInfo = namedtuple("VersionInfo", "major minor micro release_level")
version_info = VersionInfo(major=0, minor=1, micro=0, release_level="alpha") version_info = VersionInfo(major=0, minor=1, micro=0, release_level="alpha")

View file

@ -3,9 +3,9 @@ from collections import namedtuple
from discord.ext import commands from discord.ext import commands
from tuxbot.core.bot import Tux
from .logs import Logs, on_error, GatewayHandler from .logs import Logs, on_error, GatewayHandler
from .config import LogsConfig, HAS_MODELS from .config import LogsConfig, HAS_MODELS
from ...core.bot import Tux
VersionInfo = namedtuple("VersionInfo", "major minor micro release_level") VersionInfo = namedtuple("VersionInfo", "major minor micro release_level")
version_info = VersionInfo(major=1, minor=0, micro=0, release_level="alpha") version_info = VersionInfo(major=1, minor=0, micro=0, release_level="alpha")

View file

@ -1,8 +1,8 @@
from collections import namedtuple from collections import namedtuple
from tuxbot.core.bot import Tux
from .polls import Polls from .polls import Polls
from .config import PollsConfig, HAS_MODELS from .config import PollsConfig, HAS_MODELS
from ...core.bot import Tux
VersionInfo = namedtuple("VersionInfo", "major minor micro release_level") VersionInfo = namedtuple("VersionInfo", "major minor micro release_level")
version_info = VersionInfo(major=2, minor=0, micro=0, release_level="alpha") version_info = VersionInfo(major=2, minor=0, micro=0, release_level="alpha")

View file

@ -1,8 +1,8 @@
from collections import namedtuple from collections import namedtuple
from tuxbot.core.bot import Tux
from .utils import Utils from .utils import Utils
from .config import UtilsConfig, HAS_MODELS from .config import UtilsConfig, HAS_MODELS
from ...core.bot import Tux
VersionInfo = namedtuple("VersionInfo", "major minor micro release_level") VersionInfo = namedtuple("VersionInfo", "major minor micro release_level")
version_info = VersionInfo(major=2, minor=0, micro=0, release_level="alpha") version_info = VersionInfo(major=2, minor=0, micro=0, release_level="alpha")