github pylint-dev/astroid v2.8.0

latest releases: v3.1.0, v3.0.3, v3.0.2...
2 years ago
  • 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 PyCQA/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 PyCQA/pylint#4963

Don't miss a new astroid release

NewReleases is sending notifications on new releases.