forked from pool/python-astroid
Accepting request 913116 from home:glaubitz:branches:devel:languages:python
- Update to 2.7.1
* When processing dataclass attributes, only do typing inference on collection types.
Support for instantiating other typing types is left for the future, if desired.
Closes #1129
* Fixed LookupMixIn missing from ``astroid.node_classes``.
- from version 2.7.0
* Import from ``astroid.node_classes`` and ``astroid.scoped_nodes`` has been deprecated in favor of
``astroid.nodes``. Only the imports from ``astroid.nodes`` will work in astroid 3.0.0.
* Add support for arbitrary Enum subclass hierachies
Closes PyCQA/pylint#533
Closes PyCQA/pylint#2224
Closes PyCQA/pylint#2626
* Add inference tips for dataclass attributes, including dataclasses.field calls.
Also add support for InitVar.
Closes PyCQA/pylint#2600
Closes PyCQA/pylint#2698
Closes PyCQA/pylint#3405
Closes PyCQA/pylint#3794
* Adds a brain that deals with dynamic import of `IsolatedAsyncioTestCase` class of the `unittest` module.
Closes PyCQA/pylint#4060
- from version 2.6.6
* Added support to infer return type of ``typing.cast()``
* Fix variable lookup's handling of exclusive statements
Closes PyCQA/pylint#3711
* Fix variable lookup's handling of function parameters
Closes PyCQA/astroid#180
* Fix variable lookup's handling of except clause variables
* Fix handling of classes with duplicated bases with the same name
Closes PyCQA/astroid#1088
- from version 2.6.5
OBS-URL: https://build.opensuse.org/request/show/913116
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=62
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-astroid
|
||||
Version: 2.5.6
|
||||
Version: 2.7.1
|
||||
Release: 0
|
||||
Summary: Representation of Python source as an AST for pylint
|
||||
License: LGPL-2.1-or-later
|
||||
|
||||
Reference in New Issue
Block a user