New issue
Advanced search Search tips

Issue 740256 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 452983
Owner: ----
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: ----
Type: ----



Sign in to add a comment

[autotest] run_pylint.py fails in upload hook

Project Member Reported by ddavenp...@chromium.org, Jul 7 2017

Issue description

When uploading a change, run_pylint fails with the log and trace pasted below.

The change in question was https://chromium-review.googlesource.com/c/563470/

Errors:
            * Hook script "./utils/run_pylint.py" failed with code 1:
              Warning: option include-ids is deprecated and ignored.
              Traceback (most recent call last):
                File "./utils/run_pylint.py", line 461, in <module>
                  main()
                File "./utils/run_pylint.py", line 454, in main
                  pylint_base_opts)
                File "./utils/run_pylint.py", line 394, in check_committed_files
                  batch_check_files(temp_files, pylint_base_opts)
                File "./utils/run_pylint.py", line 243, in batch_check_files
                  exit=False)
                File "/usr/lib64/python2.7/site-packages/pylint/lint.py", line 1266, in __init__
                  linter.check(args)
                File "/usr/lib64/python2.7/site-packages/pylint/lint.py", line 674, in check
                  self._do_check(files_or_modules)
                File "/usr/lib64/python2.7/site-packages/pylint/lint.py", line 805, in _do_check
                  self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers)
                File "/usr/lib64/python2.7/site-packages/pylint/lint.py", line 881, in check_astroid_module
                  walker.walk(ast_node)
                File "/usr/lib64/python2.7/site-packages/pylint/utils.py", line 869, in walk
                  self.walk(child)
                File "/usr/lib64/python2.7/site-packages/pylint/utils.py", line 869, in walk
                  self.walk(child)
                File "/usr/lib64/python2.7/site-packages/pylint/utils.py", line 866, in walk
                  cb(astroid)
                File "./utils/run_pylint.py", line 183, in visit_function
                  super(CustomDocStringChecker, self).visit_function(node)
                File "/usr/lib64/python2.7/site-packages/pylint/checkers/base.py", line 1159, in visit_function
                  confidence=confidence)
              TypeError: _check_docstring() got an unexpected keyword argument 'report_missing'

 
Mergedinto: 452983
Status: Duplicate (was: Untriaged)

Sign in to add a comment