[
https://issues.apache.org/jira/browse/YETUS-991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17195798#comment-17195798
]
Allen Wittenauer commented on YETUS-991:
----------------------------------------
{code}
Traceback (most recent call last):
File "/usr/local/bin/pylint3", line 8, in <module>
sys.exit(run_pylint())
File "/usr/local/lib/python3.8/dist-packages/pylint/__init__.py", line 22, in
run_pylint
PylintRun(sys.argv[1:])
File "/usr/local/lib/python3.8/dist-packages/pylint/lint/run.py", line 349, in
__init__
linter.check(args)
File "/usr/local/lib/python3.8/dist-packages/pylint/lint/pylinter.py", line
862, in check
self._check_files(
File "/usr/local/lib/python3.8/dist-packages/pylint/lint/pylinter.py", line
896, in _check_files
self._check_file(get_ast, check_astroid_module, name, filepath, modname)
File "/usr/local/lib/python3.8/dist-packages/pylint/lint/pylinter.py", line
922, in _check_file
check_astroid_module(ast_node)
File "/usr/local/lib/python3.8/dist-packages/pylint/lint/pylinter.py", line
1054, in check_astroid_module
retval = self._check_astroid_module(
File "/usr/local/lib/python3.8/dist-packages/pylint/lint/pylinter.py", line
1099, in _check_astroid_module
walker.walk(ast_node)
File "/usr/local/lib/python3.8/dist-packages/pylint/utils/ast_walker.py", line
75, in walk
self.walk(child)
File "/usr/local/lib/python3.8/dist-packages/pylint/utils/ast_walker.py", line
75, in walk
self.walk(child)
File "/usr/local/lib/python3.8/dist-packages/pylint/utils/ast_walker.py", line
75, in walk
self.walk(child)
[Previous line repeated 2 more times]
File "/usr/local/lib/python3.8/dist-packages/pylint/utils/ast_walker.py", line
72, in walk
callback(astroid)
File "/usr/local/lib/python3.8/dist-packages/pylint/checkers/refactoring.py",
line 732, in visit_call
self._check_super_with_arguments(node)
File "/usr/local/lib/python3.8/dist-packages/pylint/checkers/refactoring.py",
line 763, in _check_super_with_arguments
or node.args[0].name != node_frame_class(node).name
AttributeError: 'NoneType' object has no attribute 'name'
{code}
> pylint 2.6.0 stack trace
> ------------------------
>
> Key: YETUS-991
> URL: https://issues.apache.org/jira/browse/YETUS-991
> Project: Yetus
> Issue Type: Bug
> Components: Precommit
> Affects Versions: 0.13.0
> Reporter: Allen Wittenauer
> Assignee: Allen Wittenauer
> Priority: Blocker
>
> Running the new Focal-based test-patch on a previous repo reports more errors
> (which is good), but is also throwing an astroid/pylint stack trace that it
> didn't before. Needs to be investigated. Probably just need to
> upgrade/downgrade pylint/astroid.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)