vandanavk opened a new issue #12205: Lint errors in examples URL: https://github.com/apache/incubator-mxnet/issues/12205 ## Description pylint scan on the files in the example folders, gives a number of errors - documented here https://gist.github.com/vandanavk/35e1b5b0a5b6c5654ed78bd831dac442 ## Environment info (Required) Package used (Python/R/Scala/Julia): Python 3 ## Build info (Required if built from source) Compiler (gcc/clang/mingw/visual studio): MXNet commit hash: ab92fd80b10805fd103217df0569513289db4625 Build config: (Paste the content of config.mk, or the build command.) ## Error Message: https://gist.github.com/vandanavk/35e1b5b0a5b6c5654ed78bd831dac442 ## Minimum reproducible example (If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.) ## Steps to reproduce ``` import os for (dirpath, dirnames, filenames) in os.walk('example'): os.system('pylint --rcfile=ci/other/pylintrc --ignore-patterns=".*\.so$$,.*\.dll$$,.*\.dylib$$" ' '--msg-template="{path}({line}): [{msg_id} {obj}] {msg}" '+dirpath+'/*.py > pylint_output.txt') ``` or just pylint --rcfile=ci/other/pylintrc --ignore-patterns=".*\.so$$,.*\.dll$$,.*\.dylib$$" --msg-template="{path}({line}): [{msg_id} {obj}] {msg}" path_to_target_folder/\*.py ## What have you tried to solve it? Undefined-name errors have been fixed. These errors are the ones with the default pylintrc.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
