Armand Grillet created MESOS-8206:
-------------------------------------
Summary: Add the pip-requirements from other modules to the pylint
virtual environment
Key: MESOS-8206
URL: https://issues.apache.org/jira/browse/MESOS-8206
Project: Mesos
Issue Type: Improvement
Reporter: Armand Grillet
We have a virtual environment in {{/support}} that is used by Pylint and
ESlint. Pylint will then lint modules that need a different set of dependencies
to work. If we do not pull the pip-requirements from other modules to the
linter virtual environment, we will see {{import-error}}s when linting Python
files.
One solution would be to use the {{--init-hook}} flag of Pylint in
{{PyLinter}}. When using {{run_lint}}, we would group the modified files per
module and then run pylint for all the modified files of each module.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)