module
expression_statement
string
string_start "\"\"\""
string_content "\nThese test cases verify ansible-test version constraints fo"...
string_end "\"\"\""
future_import_statement
from "from"
__future__ "__future__"
import "import"
dotted_name
identifier "annotations"
comment "# Python 3.8 fails with astroid 2.2.5 but works on 2.3.3"
comment "# syntax-error: Cannot import 'string' due to syntax error"...
comment "# Python 3.9 fails with astroid 2.2.5 but works on 2.3.3"
comment "# syntax-error: Cannot import 'string' due to syntax error"...
import_statement
import "import"
dotted_name
identifier "string"
comment "# pylint: disable=unused-import"
comment "# Python 3.9 fails with pylint 2.3.1 or 2.4.4 with astroid 2"...
comment "# 'Call' object has no attribute 'value'"
expression_statement (+28 nodes collapsed)
expression_statement
assignment
identifier "foo"
= "="
call
attribute
dictionary
{ "{"
} "}"
. "."
identifier "keys"
argument_list
( "("
) ")"
comment "# should trigger disallowed-name, but doesn't in pylint 4.0."...