summaryrefslogtreecommitdiff
path: root/astroid/brain/brain_numpy_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump astroid to 2.6.3, update changelogv2.6.3Pierre Sassoulas2021-07-191-0/+1
|
* Fix copyright links (#1084)Marc Mueller2021-07-011-1/+1
| | | | * Fix link in license header * Fix link to cpython
* Import directly from modules in astroid.brain.*Pierre Sassoulas2021-06-191-12/+9
|
* Fix issue #891Pierre Sassoulas2021-04-101-1/+1
| | | | Remove outdated COPYING and rename COPYING.LESSER
* Prepare for 2.5.2 releaseastroid-2.5.2Pierre Sassoulas2021-03-281-0/+1
|
* Reformats according to blackhippo912021-03-051-1/+4
|
* "import numpy" has to be detected as a valid import of numpyhippo912021-03-051-1/+1
|
* Upgrade copyrite noticePierre Sassoulas2021-02-281-1/+1
|
* Update copyright noticehippo912021-02-151-1/+1
|
* New copyright noticeshippo912020-12-271-1/+1
|
* Add missing copyright annotations for the past releasesClaudiu Popa2020-04-271-1/+2
|
* Add a call to register_transform for each numpy function in case the current ↵hippo912020-01-051-2/+10
| | | | | | | | | | | | node is an astroid.Name instance The problem was that astroid could not infer the result of a call to `numpy.append` because this function calls the `concatenate` function. This last function is inferred thanks to the `brain_numpy_core_multiarray` module but only when the corresponding node is an `astroid.Attribute` (for example numpy.concatenate). It turns out that in the source of the append function the node that realises the call to concatenate is a `astroid.Name`. Thus the correction proposed here is to register the concatenate inference tip function in order to apply it, also, to `astroid.Name`. Close #666
* Make sure that node.expr points to a Name before calling looks_like_numpy_memberClaudiu Popa2019-06-201-0/+1
|
* Avoid use of inference engine before it is fully set up. Add docstringshippo912019-05-251-2/+34
|
* Corrects the way a numpy member is identifiedhippo912019-04-261-1/+1
|
* Refomat according to blackhippo912019-04-211-3/+5
|
* Factorize functions inference systemhippo912019-04-201-0/+21