cclauss commented on issue #8270: 10 Undefined names in Python code
URL: 
https://github.com/apache/incubator-mxnet/issues/8270#issuecomment-413354049
 
 
   [flake8](http://flake8.pycqa.org) testing of 
https://github.com/apache/incubator-mxnet on Python 3.7.0
   
   $ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source 
--statistics__
   ```
   ./amalgamation/python/mxnet_predict.py:68:40: F821 undefined name 
'libinfo_py'
                   libinfo = {'__file__': libinfo_py}
                                          ^
   ./amalgamation/python/mxnet_predict.py:69:35: F821 undefined name 
'libinfo_py'
                   exec(compile(open(libinfo_py, "rb").read(), libinfo_py, 
'exec'), libinfo, libinfo)
                                     ^
   ./amalgamation/python/mxnet_predict.py:69:61: F821 undefined name 
'libinfo_py'
                   exec(compile(open(libinfo_py, "rb").read(), libinfo_py, 
'exec'), libinfo, libinfo)
                                                               ^
   ./tests/python/unittest/test_engine_import.py:33:13: F821 undefined name 
'reload'
               reload(mxnet)
               ^
   ./tests/nightly/model_backwards_compatibility_check/common.py:216:12: F821 
undefined name 'cmp'
       return cmp(normalize(version1), normalize(version2))
              ^
   ./docs/mxdoc.py:44:27: E999 SyntaxError: invalid syntax
           print '%-12s  : %s' % (candidate, parser.get(section, candidate))
                             ^
   1     E999 SyntaxError: invalid syntax
   5     F821 undefined name 'libinfo_py'
   6
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to