You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo'for x in range(): pass'| pylint test --from-stdin
Current behavior
************* Module alectryon.test
test:1:0: C0114: Missing module docstring (missing-module-docstring)
Traceback (most recent call last):
File "/home/clement/.local/bin/pylint", line 8, in <module>
sys.exit(run_pylint())
File "/home/clement/.local/lib/python3.8/site-packages/pylint/__init__.py", line 22, in run_pylint
PylintRun(sys.argv[1:])
File "/home/clement/.local/lib/python3.8/site-packages/pylint/lint/run.py", line 344, in __init__
linter.check(args)
File "/home/clement/.local/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 864, in check
self._check_files(
File "/home/clement/.local/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 904, in _check_files
self._check_file(get_ast, check_astroid_module, name, filepath, modname)
File "/home/clement/.local/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 930, in _check_file
check_astroid_module(ast_node)
File "/home/clement/.local/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 1062, in check_astroid_module
retval = self._check_astroid_module(
File "/home/clement/.local/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 1107, in _check_astroid_module
walker.walk(ast_node)
File "/home/clement/.local/lib/python3.8/site-packages/pylint/utils/ast_walker.py", line 75, in walk
self.walk(child)
File "/home/clement/.local/lib/python3.8/site-packages/pylint/utils/ast_walker.py", line 72, in walk
callback(astroid)
File "/home/clement/.local/lib/python3.8/site-packages/pylint/checkers/refactoring.py", line 1346, in visit_for
if not isinstance(node.iter.args[-1], astroid.Call):
IndexError: list index out of range
Steps to reproduce
Current behavior
Expected behavior
No crash
pylint --version output
The text was updated successfully, but these errors were encountered: