Advertisement
911rennsport

pylint error

Sep 1st, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.68 KB | None | 0 0
  1. No config file found, using default configuration
  2. ************* Module hw01
  3. C: 1, 0: Missing module docstring (missing-docstring)
  4. Traceback (most recent call last):
  5. File "/Library/Frameworks/Python.framework/Versions/3.5/bin/pylint", line 11, in <module>
  6. sys.exit(run_pylint())
  7. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pylint/__init__.py", line 23, in run_pylint
  8. Run(sys.argv[1:])
  9. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pylint/lint.py", line 1332, in __init__
  10. linter.check(args)
  11. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pylint/lint.py", line 747, in check
  12. self._do_check(files_or_modules)
  13. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pylint/lint.py", line 869, in _do_check
  14. self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers)
  15. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pylint/lint.py", line 946, in check_astroid_module
  16. walker.walk(ast_node)
  17. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pylint/utils.py", line 874, in walk
  18. self.walk(child)
  19. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pylint/utils.py", line 871, in walk
  20. cb(astroid)
  21. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pylint/checkers/imports.py", line 276, in visit_from
  22. importedmodnode = self.get_imported_module(node, basename)
  23. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pylint/checkers/imports.py", line 288, in get_imported_module
  24. return importnode.do_import_module(modname)
  25. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/mixins.py", line 107, in do_import_module
  26. return mymodule.import_module(modname, level=level)
  27. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/scoped_nodes.py", line 425, in import_module
  28. return MANAGER.ast_from_module_name(absmodname)
  29. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/manager.py", line 160, in ast_from_module_name
  30. return self.ast_from_file(filepath, modname, fallback=False)
  31. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/manager.py", line 112, in ast_from_file
  32. return AstroidBuilder(self).file_build(filepath, modname)
  33. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/builder.py", line 134, in file_build
  34. module = self._data_build(data, modname, path)
  35. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/builder.py", line 177, in _data_build
  36. module = rebuilder.visit_module(node, modname, node_file, package)
  37. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/rebuilder.py", line 148, in visit_module
  38. newnode.body = [self.visit(child, newnode) for child in node.body]
  39. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/rebuilder.py", line 148, in <listcomp>
  40. newnode.body = [self.visit(child, newnode) for child in node.body]
  41. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/rebuilder.py", line 161, in visit
  42. return self._transform(visit_method(node, parent))
  43. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/rebuilder.py", line 502, in visit_function
  44. newnode.body = [self.visit(child, newnode) for child in node.body]
  45. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/rebuilder.py", line 502, in <listcomp>
  46. newnode.body = [self.visit(child, newnode) for child in node.body]
  47. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/rebuilder.py", line 161, in visit
  48. return self._transform(visit_method(node, parent))
  49. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/rebuilder.py", line 706, in visit_return
  50. newnode.value = self.visit(node.value, newnode)
  51. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/rebuilder.py", line 161, in visit
  52. return self._transform(visit_method(node, parent))
  53. File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astroid/rebuilder.py", line 308, in visit_binop
  54. newnode.op = _BIN_OP_CLASSES[node.op.__class__]
  55. KeyError: <class '_ast.MatMult'>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement