Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Corrected the parent of function type comment nodesfix_851 | Ashley Whetter | 2021-01-31 | 3 | -4/+24 |
| | | | | | | | These nodes used to be parented to their original ast.FunctionDef parent but are now correctly parented to their astroid.FunctionDef parent. Closes #851 | ||||
* | Julien palard mdk/class getitem (#885) | hippo91 | 2021-01-24 | 3 | -3/+26 |
| | | | | | | | | | | | | | | | * Add missing __class_getitem__ to deque. * The __class_getitem__ method is added only for python versions above 3.9 * Adds two tests that ensure that __class_getitem__ method is not present for python versions prior to 3.9 but present for python versions above 3.9 * Reorganizes * Adds an entry * Add Julien Palard in copyright Co-authored-by: Julien Palard <julien@palard.fr> | ||||
* | Merge pull request #884 from hippo91/sum_and_multiply_clean | hippo91 | 2021-01-24 | 6 | -11/+20 |
|\ | | | | | Sum and multiply clean | ||||
| * | Merge branch 'sum_and_multiply' of https://github.com/hippo91/astroidsum_and_multiply | hippo91 | 2021-01-23 | 6 | -11/+20 |
| |\ |/ / | |||||
| * | Merge branch 'master' into sum_and_multiply | hippo91 | 2020-06-20 | 150 | -1599/+1959 |
| |\ | |||||
| * \ | Merge branch 'master' into sum_and_multiply | hippo91 | 2019-12-30 | 3 | -0/+16 |
| |\ \ | |||||
| * | | | Corrects the use of numpy.multiply function | hippo91 | 2019-12-30 | 1 | -1/+1 |
| | | | | |||||
| * | | | Added an entry | hippo91 | 2019-12-30 | 1 | -0/+5 |
| | | | | |||||
| * | | | Updates two tests that deal with the number of visits and the context.path | hippo91 | 2019-12-30 | 1 | -2/+3 |
| | | | | |||||
| * | | | Turns the context.path from a set to a dict which values are the number of ↵ | hippo91 | 2019-12-30 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | times the node has been visited. The push method return True depending on a condition of the number of visits. | ||||
| * | | | Insures that numpy functions returning arrays are inferred only as array and ↵ | hippo91 | 2019-12-30 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | not [array, Uninferable] because it could lead to false negatives. | ||||
| * | | | Add the test of functions add and multiply | hippo91 | 2019-12-28 | 1 | -0/+2 |
| | | | | |||||
| * | | | Adds two missing ufunc instances (add and multiply) | hippo91 | 2019-12-28 | 1 | -0/+2 |
| | | | | |||||
* | | | | Merge pull request #883 from hippo91/bug_pylint_4001 | hippo91 | 2021-01-23 | 3 | -0/+103 |
|\ \ \ \ | | | | | | | | | | | Bug pylint 4001 | ||||
| * | | | | Corrects a comment concerning node type as suggested by @PIerre-Sassoulas | hippo91 | 2021-01-23 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Defines PY39 variable | hippo91 | 2021-01-20 | 1 | -1/+4 |
| | | | | | |||||
| * | | | | Formatting according to black | hippo91 | 2021-01-20 | 2 | -10/+4 |
| | | | | | |||||
| * | | | | Adds an entry | hippo91 | 2021-01-19 | 1 | -0/+3 |
| | | | | | |||||
| * | | | | Adds doc | hippo91 | 2021-01-19 | 2 | -9/+45 |
| | | | | | |||||
| * | | | | Deletes unused import | hippo91 | 2021-01-19 | 1 | -3/+0 |
| | | | | | |||||
| * | | | | Adds unittest for brain_type module | hippo91 | 2021-01-18 | 1 | -0/+27 |
| | | | | | |||||
| * | | | | Adds a brain to mock the __class_getitem__ method on the `type` class (only ↵ | hippo91 | 2021-01-18 | 1 | -0/+43 |
| | | | | | | | | | | | | | | | | | | | | with python3.9) | ||||
* | | | | | Merge pull request #882 from Polyconseil/dbaty/subprocess_popen_class_getitem | hippo91 | 2021-01-23 | 3 | -0/+18 |
|\ \ \ \ \ | |/ / / / |/| | | | | brain: Add `__class_getitem__` to `subprocess.Popen` starting from Python 3.9 | ||||
| * | | | | brain: Add `__class_getitem__` to `subprocess.Popen` starting from Python 3.9 | Damien Baty | 2021-01-18 | 3 | -0/+18 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary for pylint to detect that `subprocess.Popen` is subscriptable, starting from Python 3.9 (see PyCQA/pylint#4034). $ python3.9 >>> import subprocess >>> subprocess.Popen.__class_getitem__ <bound method GenericAlias of <class 'subprocess.Popen'>> | ||||
* | | | | ``is_generator`` correctly considers `Yield` nodes in `AugAssign` nodes | Claudiu Popa | 2021-01-01 | 3 | -0/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes a false positive with the `assignment-from-no-return` pylint check. Close PyCQA/pylint#3904 | ||||
* | | | | Fix a crash in inference caused by `Uninferable` container elements | Claudiu Popa | 2021-01-01 | 3 | -0/+20 |
| | | | | | | | | | | | | | | | | Close #866 | ||||
* | | | | Fix a bug for dunder methods inference of function objects | Claudiu Popa | 2020-12-30 | 3 | -0/+16 |
| | | | | | | | | | | | | | | | | Fixes #819 | ||||
* | | | | Merge pull request #873 from hippo91/bug_pylint_3856 | hippo91 | 2020-12-30 | 5 | -1/+12 |
|\ \ \ \ | | | | | | | | | | | Bug pylint 3856 | ||||
| * \ \ \ | Merge branch 'master' into bug_pylint_3856 | hippo91 | 2020-12-30 | 2 | -1/+20 |
| |\ \ \ \ | |/ / / / |/| | | | | |||||
* | | | | | Merge pull request #869 from hippo91/fix_deprecated_importlib_methods | hippo91 | 2020-12-30 | 2 | -1/+19 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix deprecated importlib methods | ||||
| * | | | | | Update astroid/interpreter/_import/spec.py | hippo91 | 2020-12-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Taking into account @GergelyKalmar suggestion Co-authored-by: Gergely Kalmár <gergely.kalmar@logikal.jp> | ||||
| * | | | | | Update astroid/interpreter/_import/spec.py | hippo91 | 2020-12-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Taking into account @GergelyKalmar suggestion Co-authored-by: Gergely Kalmár <gergely.kalmar@logikal.jp> | ||||
| * | | | | | Update astroid/interpreter/_import/spec.py | hippo91 | 2020-12-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Taking into account @GergelyKalmar suggestion Co-authored-by: Gergely Kalmár <gergely.kalmar@logikal.jp> | ||||
| * | | | | | Update astroid/interpreter/_import/spec.py | hippo91 | 2020-12-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Taking into account @GergelyKalmar suggestion Co-authored-by: Gergely Kalmár <gergely.kalmar@logikal.jp> | ||||
| * | | | | | Merge branch 'master' into fix_deprecated_importlib_methods | hippo91 | 2020-12-29 | 72 | -62/+156 |
| |\ \ \ \ \ | |/ / / / / |/| | | | | | |||||
| * | | | | | Reformated according to black | hippo91 | 2020-12-24 | 1 | -1/+5 |
| | | | | | | |||||
| * | | | | | Adds an entry | hippo91 | 2020-12-24 | 1 | -0/+4 |
| | | | | | | |||||
| * | | | | | Adds copyright notice | hippo91 | 2020-12-24 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Adds docstring to the _precache_zipimporters function | hippo91 | 2020-12-24 | 1 | -0/+10 |
| | | | | | | |||||
| * | | | | | Changes the return value of the _precache_zipimporters function so that only ↵ | hippo91 | 2020-12-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | zipimporter instances are returned. | ||||
| | * | | | | Formatting according to black | hippo91 | 2020-12-29 | 1 | -2/+2 |
| | | | | | | |||||
| | * | | | | Adds a note dealing with numpy version 1.18 and the __getattr__ method | hippo91 | 2020-12-29 | 1 | -1/+2 |
| | | | | | | |||||
| | * | | | | Adds an entry | hippo91 | 2020-12-29 | 1 | -0/+3 |
| | | | | | | |||||
| | * | | | | Add the function random that is an alias of random_sample | hippo91 | 2020-12-29 | 2 | -0/+2 |
| | | | | | | |||||
| | * | | | | Adds the ufunc degrees and radians tests | hippo91 | 2020-12-29 | 1 | -0/+2 |
| | | | | | | |||||
| | * | | | | Adds the ufunc degrees and radians | hippo91 | 2020-12-29 | 1 | -0/+2 |
| |/ / / / |/| | | | | |||||
* | | | | | Merge pull request #872 from hippo91/astroid_2.5.0 | hippo91 | 2020-12-29 | 70 | -49/+113 |
|\ \ \ \ \ | | | | | | | | | | | | | Astroid 2.5.0 | ||||
| * | | | | | Do not set the release date until it has been really released. | hippo91 | 2020-12-29 | 1 | -1/+2 |
| | | | | | | |||||
| * | | | | | Removes insecable whitespaces | hippo91 | 2020-12-29 | 1 | -8/+8 |
| | | | | | | |||||
| * | | | | | Formatting according to black | hippo91 | 2020-12-28 | 1 | -8/+8 |
| | | | | | |