mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +00:00
wa: Pylint Fixes for Travis
Pylint has trouble using imports from the distutils module in virtualenvs so we need to explicitly ignore these imports.
This commit is contained in:
parent
e8b0d42758
commit
791d9496a7
@ -20,7 +20,7 @@ import shutil
|
|||||||
import string
|
import string
|
||||||
import getpass
|
import getpass
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
from distutils.dir_util import copy_tree
|
from distutils.dir_util import copy_tree # pylint: disable=no-name-in-module, import-error
|
||||||
|
|
||||||
from wa import ComplexCommand, SubCommand, pluginloader, settings
|
from wa import ComplexCommand, SubCommand, pluginloader, settings
|
||||||
from wa.framework.target.descriptor import list_target_descriptions
|
from wa.framework.target.descriptor import list_target_descriptions
|
||||||
|
@ -39,7 +39,7 @@ else:
|
|||||||
from io import BytesIO as StringIO
|
from io import BytesIO as StringIO
|
||||||
# pylint: disable=wrong-import-position,unused-import
|
# pylint: disable=wrong-import-position,unused-import
|
||||||
from itertools import chain, cycle
|
from itertools import chain, cycle
|
||||||
from distutils.spawn import find_executable
|
from distutils.spawn import find_executable # pylint: disable=no-name-in-module, import-error
|
||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
from dateutil import tz
|
from dateutil import tz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user