test(core): ignore pylint's ImportErrors for distro package (#2830)

This commit is contained in:
jack1142
2019-07-02 03:54:56 +02:00
committed by Michael H
parent 55e309125e
commit 081bf663a4
2 changed files with 2 additions and 2 deletions

View File

@@ -1652,7 +1652,7 @@ class Core(commands.Cog, CoreLogic):
"""Shows debug information useful for debugging.."""
if sys.platform == "linux":
import distro
import distro # pylint: disable=import-error
IS_WINDOWS = os.name == "nt"
IS_MAC = sys.platform == "darwin"