Hi, Mike
'cros lint' is broken for me both inside and outside chroot.
Do you have idea what's wrong?
I got following error when run 'cros lint *.py'.
Traceback (most recent call last):
File "/mnt/host/source/chromium/tools/depot_tools/third_party/pylint.py", line 37, in <module>
lint.Run(args)
File "/mnt/host/source/chromium/tools/depot_tools/third_party/pylint/lint.py", line 1281, in __init__
linter.load_plugin_modules(plugins)
File "/mnt/host/source/chromium/tools/depot_tools/third_party/pylint/lint.py", line 487, in load_plugin_modules
module = modutils.load_module_from_name(modname)
File "/mnt/host/source/chromium/tools/depot_tools/third_party/logilab/astroid/modutils.py", line 186, in load_module_from_name
return load_module_from_modpath(dotted_name.split('.'), path, use_sys)
File "/mnt/host/source/chromium/tools/depot_tools/third_party/logilab/astroid/modutils.py", line 229, in load_module_from_modpath
module = imp.load_module(curname, mp_file, mp_filename, mp_desc)
File "/mnt/host/source/chromite/cli/cros/lint.py", line 28, in <module>
from logilab.common.configuration import Configuration
ImportError: No module named common.configuration
Comment 1 by bugdroid1@chromium.org
, Jul 16