python2mse reporter for pylint not working?

Issue #5 new
zz elle created an issue

pylint -f python2mse.msereporter.MSEReporter -r no setup.py

No config file found, using default configuration (Python.PylintMessageDefinition (id: 1) (category 'convention') (name 'bad-continuation') (msgid 'C0330') )

(Python.PylintMessageDefinition (id: 4) (category 'warning') (name 'redefined-builtin') (msgid 'W0622') )

(Python.PylintMessageDefinition (id: 7) (category 'convention') (name 'missing-docstring') (msgid 'C0111') )

(Python.PylintMessageDefinition (id: 10) (category 'convention') (name 'invalid-name') (msgid 'C0103') )

Traceback (most recent call last): File "/home/T0102996/safepython/bin/pylint", line 11, in <module> sys.exit(run_pylint()) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/init.py", line 23, in run_pylint Run(sys.argv[1:]) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/lint.py", line 1332, in init linter.check(args) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/lint.py", line 747, in check self._do_check(files_or_modules) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/lint.py", line 869, in _do_check self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/lint.py", line 946, in check_astroid_module walker.walk(ast_node) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/utils.py", line 874, in walk self.walk(child) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/utils.py", line 874, in walk self.walk(child) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/utils.py", line 874, in walk self.walk(child) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/utils.py", line 871, in walk cb(astroid) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/checkers/base.py", line 1027, in visit_assname self._check_name('const', node.name, node) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/checkers/base.py", line 1081, in _check_name self._raise_name_warning(node, node_type, name, confidence) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/checkers/base.py", line 1056, in _raise_name_warning confidence=confidence) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/checkers/init.py", line 101, in add_message self.linter.add_message(msg_id, line, node, args, confidence) File "/home/T0102996/safepython/local/lib/python2.7/site-packages/pylint/utils.py", line 410, in add_message (abspath, path, module, obj, line or 1, col_offset or 0), msg, confidence)) File "/home/T0102996/safepython/python2mse/python2mse/msereporter.py", line 80, in handle_message msgdefref = self.ensure_message_def(msg) File "/home/T0102996/safepython/python2mse/python2mse/msereporter.py", line 69, in ensure_message_def msgdefref = self.msemgr.ensure_entity(msgdef) File "/home/T0102996/safepython/python2mse/python2mse/entitymanager.py", line 104, in ensure_entity assert self[entity] not in self.managed, (self[entity], entity) AssertionError: (10, <pylint.utils.MessageDefinition object at 0x1c76b50>)

Comments (0)

  1. Log in to comment