summaryrefslogtreecommitdiff
path: root/astroid/brain/brain_numpy.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace `any` with `uninferable` when returning values from `numpy` transformClaudiu Popa2019-03-041-249/+249
| | | | | | | | | | | Turns out that this was conflicting with the `any` builtin, while the original intention was to return a value that cannot be inferred, until we have support for types. This should fix a couple of false positives on pylint's side where the return value of numpy functions was considered to be itself a function. Close PyCQA/pylint#2784
* Format according to Blackhippo912019-02-091-6/+14
|
* Refactoring to code DRYhippo912019-02-031-20/+28
|
* Adding support for unary operators for numpy ndarray and numbers. Adding ↵hippo912019-02-031-1/+54
| | | | hook to filter results of infer_call_result from list and tuples for function array and linspace
* Remove inadvertent returns from class bodiesClaudiu Popa2019-01-271-26/+26
|
* ``brain_numpy`` returns an undefined type for ``numpy`` methods to avoid ↵Claudiu Popa2019-01-251-272/+272
| | | | | | | | ``assignment-from-no-retur n`` Close PyCQA/pylint#2694
* Initial formatting of astroidClaudiu Popa2018-10-021-23/+39
|
* Update the copyright noticesastroid-2.0Claudiu Popa2018-07-151-1/+3
|
* Reworking astroid numpy brain (#561)hippo912018-06-251-88/+232
| | | | | | Complete refoundation of the numpy_core_numerictypes_transform method thanks to a deep analysis of the numpy.core.numerictpyes module. The generated hierarchy of classes is closer to the real one.
* Enrichmend of the unittest to check if methods of the numpy types are ↵hippo912018-06-061-0/+1
| | | | correctly detected
* Setting up the numpy.string_ methods signaturehippo912018-06-061-24/+24
|
* Taking into account specific numpy types more preciselyhippo912018-06-061-23/+155
|
* Add brain tip for numpy.sum. Close PyCQA/pylint#1558Claudiu Popa2018-04-051-0/+9
|
* Enhancement of numpy brain to add missing types defined in ↵hippo912018-01-301-0/+33
| | | | numpy.core.numerictypes + add of corresponding unittest
* Introduction of numpy.random.mtrand functions signatures inside numpy brain ↵hippo912017-11-111-38/+53
| | | | + add of a dedicated unit test
* Introduction of numpy.core.umath functions signatures inside numpy brain + ↵hippo912017-11-111-18/+88
| | | | add of a dedicated unit test
* Expose more objects in numpy brain tiphippo912017-09-211-1/+17
|
* Even more granular copyrights (thanks to copyrite)Claudiu Popa2016-07-221-2/+2
|
* Keep a consistent copyright notice across the board.Claudiu Popa2016-07-191-0/+2
|
* Remove superfluous boilerplate the first regex missedCeridwen2016-05-171-17/+0
|
* Convert all files to new license headerCeridwen2016-05-161-0/+3
|
* Rename the brain files again to avoid naming conflicts.Claudiu Popa2015-10-281-0/+62