[V3] Use typing.TYPE_CHECKING instead of utils.TYPE_CHECKING (#1778)

Not needed any more as we no longer support python<3.6
This commit is contained in:
Tobotimus
2018-06-03 08:24:16 +10:00
committed by Will
parent 8610b47a68
commit 19b05e632c
5 changed files with 5 additions and 25 deletions

View File

@@ -3,9 +3,8 @@ import distutils.dir_util
import shutil
from enum import Enum
from pathlib import Path
from typing import MutableMapping, Any
from typing import MutableMapping, Any, TYPE_CHECKING
from redbot.core.utils import TYPE_CHECKING
from .log import log
from .json_mixins import RepoJSONMixin
@@ -25,7 +24,7 @@ class Installable(RepoJSONMixin):
- Modules
- Repo Libraries
- Other stuff?
The attributes of this class will mostly come from the installation's
info.json.