v2.6.0
-
Appveyor and travis are no longer used in the continuous integration
-
setuptools_scmhas been removed and replaced bytbumpin order to not
have hidden runtime dependencies to setuptools -
NodeNg, the base node class, is now accessible fromastroidor
astroid.nodesas it can be used for typing. -
Update enum brain to improve inference of .name and .value dynamic class
attributesCloses pylint-dev/pylint#1932
Closes pylint-dev/pylint#2062
Closes pylint-dev/pylint#2306 -
Removed
Repr,Exec, andPrintnodes as theastnodes
they represented have been removed with the change to Python 3 -
Deprecate
Ellipsisnode. It will be removed with the next minor release.
Checkers that already support Python 3.8+ work without issues. It's only
necessary to remove all references to theastroid.Ellipsisnode.
This changes will make development of checkers easier as the resulting tree for Ellipsis
will no longer depend on the python version. Background: With Python 3.8 the
ast.Ellipsisnode, along withast.Str,ast.Bytes,ast.Num,
andast.NamedConstantwere merged intoast.Constant. -
Deprecated
IndexandExtSlicenodes. They will be removed with the
next minor release. Both are now part of theSubscriptnode.
Checkers that already support Python 3.9+ work without issues.
It's only necessary to remove all references to theastroid.Indexand
astroid.ExtSlicenodes. This change will make development of checkers
easier as the resulting tree forast.Subscriptnodes will no longer
depend on the python version. Background: With Python 3.9ast.Index
andast.ExtSlicewere merged into theast.Subscriptnode. -
Updated all Match nodes to be internally consistent.
-
Add
Patternbase class.