mxnet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vandana Kannan <vandana...@gmail.com>
Subject Pylint Undefined variable/name error
Date Fri, 27 Jul 2018 02:27:26 GMT
Hi All,

On enabling the option "undefined-variable" in pylint (in pylintrc) and executing on the latest
code, 52 errors show up (most of them from the example folder). These could lead to Python
NameError at runtime. The errors are documented in https://github.com/apache/incubator-mxnet/issues/11904.


Currently, this Pylint option is disabled in CI and pylint is not executed on the example
folder.

It might be better to enable this option in CI to catch these errors early on, and also work
on fixing the errors. Any thoughts/suggestions?

Thanks,
Vandana

Mime
View raw message