Skip to content

v2.8.0

Compare
Choose a tag to compare
@Pierre-Sassoulas 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) for Name, AssignName, DelName
      • attrname (str) for Attribute, AssignAttr, DelAttr
      • op (str) for AugAssign, BinOp, BoolOp, UnaryOp
      • names (list[tuple[str, str | None]]) for Import
  • Support pyz imports

    Closes pylint-dev/pylint#3887

  • Add node_ancestors method to NodeNG 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