github pylint-dev/astroid v2.8.1

latest releases: v3.2.2, v3.2.1, v3.2.0...
2 years ago
  • Adds support of type hints inside numpy's brains.

    Closes PyCQA/pylint#4326

  • Enable inference of dataclass import from pydantic.dataclasses.
    This allows the dataclasses brain to recognize pydantic dataclasses.

    Closes PyCQA/pylint#4899

  • Fix regression on ClassDef inference

    Closes PyCQA/pylint#5030
    Closes PyCQA/pylint#5036

  • Fix regression on Compare node inference

    Closes PyCQA/pylint#5048

  • Extended attrs brain to support the provisional APIs

  • Astroid does not trigger it's own deprecation warning anymore.

  • Improve brain for typing.Callable and typing.Type.

  • Fix bug with importing namespace packages with relative imports

    Closes PyCQA/pylint#5059

  • The is_typing_guard and is_sys_guard functions are deprecated and will
    be removed in 3.0.0. They are complex meta-inference functions that are better
    suited for pylint. Import them from pylint.checkers.utils instead
    (requires pylint 2.12).

  • Suppress the conditional between applied brains and dynamic import authorized
    modules. (Revert the "The transforms related to a module are applied only if this
    module has not been explicitly authorized to be imported" of version 2.7.3)

  • Adds a brain to infer the numpy.ma.masked_where function.

    Closes PyCQA/pylint#3342

Don't miss a new astroid release

NewReleases is sending notifications on new releases.