diff options
| author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-02-28 21:16:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-28 21:16:14 +0100 |
| commit | 181642f33c3ba71f39e73efb334502ad300dfe5a (patch) | |
| tree | fbad9926d9542a8b4ecbbbf9fa4d41fef9a17bef /setup.py | |
| parent | 8c2a13fe453f3fc38f3b2f32d5de92f5c87e13d4 (diff) | |
| download | astroid-git-181642f33c3ba71f39e73efb334502ad300dfe5a.tar.gz | |
Solves "Duplicates found in MROs" false positives. (#905, #916)
* Adds inference support for all typing types that are defined through _alias function
* Instead of creating a new class (by the mean of TYPING_TYPE_TEMPLATE) infer the origin class : i.e MutableSet = _alias(collections.MutableSet ...) origin is the class in collections module. Needs to add __getitem method on its metaclass so that is support indexing (MutableSet[T]).
* Enable _alias mocking and testing only if python version is at least 3.7
Co-authored-by: hippo91 <guillaume.peillex@gmail.com>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions
