v2.8.0
Pierre-Sassoulas
released this
14 Sep 07:27
·
1524 commits
to main
since this release
-
Add additional deprecation warnings in preparation for astroid 3.0
-
Require attributes for some node classes with
__init__
call.name
(str
) forName
,AssignName
,DelName
attrname
(str
) forAttribute
,AssignAttr
,DelAttr
op
(str
) forAugAssign
,BinOp
,BoolOp
,UnaryOp
names
(list[tuple[str, str | None]]
) forImport
-
-
Support pyz imports
Closes pylint-dev/pylint#3887
-
Add
node_ancestors
method toNodeNG
for obtaining the ancestors of nodes. -
It's now possible to infer the value of comparison nodes
Closes #846
-
Fixed bug in inference of dataclass field calls.
Closes pylint-dev/pylint#4963