summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Prepare 2.2.5astroid-2.2.52.2Claudiu Popa2019-03-082-1/+9
|
* Use a list to hold the statements to be filtered per node instead of keeping ↵Claudiu Popa2019-03-081-6/+8
| | | | them in a dict
* The last except handler wins when inferring variables bound in an except ↵Claudiu Popa2019-03-083-2/+77
| | | | | | handler. Close PyCQA/pylint#2777
* Add changelog entry for typed-ast change plus prepare 2.2.4astroid-2.2.4Claudiu Popa2019-03-052-1/+7
|
* Use the latest typed-ast across the boardClaudiu Popa2019-03-051-2/+1
|
* Bump to 2.2.3 and add ChangeLog entryastroid-2.2.3Claudiu Popa2019-03-042-1/+16
|
* 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
* Add automatic travis deploysClaudiu Popa2019-03-031-0/+9
|
* Prepare 2.2.2Claudiu Popa2019-03-022-1/+7
|
* Prepare 2.2.1astroid-2.2.1Claudiu Popa2019-03-021-1/+1
|
* Correctly instantiate exception instances when inferring their attributes ↵Claudiu Popa2019-02-283-1/+20
| | | | | | with objectmodel Close PyCQA/pylint#2776
* Open up 2.2.1 and add changelog entry for the slice() fixClaudiu Popa2019-02-282-1/+9
|
* Make sure to infer the arguments to the `slice()` builtinClaudiu Popa2019-02-281-0/+1
| | | | Close PyCQA/pylint#2770
* When picking the parse function, make sure to parse with the right minor versionastroid-2.2.0Claudiu Popa2019-02-271-1/+7
| | | | | Until now we were parsing with the default 3.6 with typed_ast, which does not make sense for Python 3.5 and 3.4
* Disable test that does not make sense on versions older than Python 3.6Claudiu Popa2019-02-271-0/+1
|
* Prepare 2.2.0Claudiu Popa2019-02-272-5/+4
|
* Remove merge markerClaudiu Popa2019-02-271-1/+1
|
* Don't clear the manager caching any longerClaudiu Popa2019-02-271-2/+0
|
* Use the right pytest methods for setup and teardownClaudiu Popa2019-02-271-2/+2
|
* Use the same versions in tox as in __pkginfo__Claudiu Popa2019-02-271-1/+2
|
* Added 2 more missing _ssl constants (#648)Benjamin Elven2019-02-251-1/+1
|
* Merge pull request #643 from hippo91/bug_pylint_2436hippo912019-02-243-0/+108
|\ | | | | Bug pylint 2436
| * Merges masterhippo912019-02-243-9/+11
| |\
| | * Merge branch 'master' of https://github.com/PyCQA/astroidhippo912019-02-245-8/+58
| | |\ | |_|/ |/| |
* | | Do a new dev releaseClaudiu Popa2019-02-201-1/+1
| | |
* | | Install typed ast 1.3 for Python 3.7 and earlier versions for Python 3.6Claudiu Popa2019-02-191-1/+2
| | | | | | | | | | | | | | | We still need to emit errors on pylint's side when keywords such as `async` are assigned to variables, but with the latest typed-ast that is already a syntax error.
* | | Update to typed-ast 1.3 and drop the Python 3.7 restrictionClaudiu Popa2019-02-193-6/+3
| | | | | | | | | | | | Close #646
* | | Add support of unary operators to numpy types.hippo912019-02-173-1/+53
| | |
| * | Merge branch 'master' into bug_pylint_2436hippo912019-02-154-3/+43
| |\ \ | | |/
| | * Merge branch 'master' of https://github.com/PyCQA/astroidhippo912019-02-154-3/+43
| | |\ | |_|/ |/| |
* | | Fix a crash with ``typing.NamedTuple`` and empty fields. Close PyCQA/pylint#2745Claudiu Popa2019-02-133-3/+20
| | |
* | | Add a proper ``strerror`` inference to the ``OSError`` exceptions.Claudiu Popa2019-02-133-0/+23
| | | | | | | | | | | | Close PyCQA/pylint#2553
| * | Format according to Blackhippo912019-02-092-7/+18
| | |
| * | Add of ChangeLog entryhippo912019-02-091-0/+5
| | |
| * | Refactors and generalizes unittests dealing with tuple or list inference of ↵hippo912019-02-091-8/+16
| | | | | | | | | | | | numpy function calls
| * | Merge branch 'master' into bug_pylint_2436hippo912019-02-093-4/+54
| |\ \ | | |/
| | * Merge branch 'master' of https://github.com/PyCQA/astroidhippo912019-02-093-4/+54
| | |\ | |_|/ |/| |
* | | Support non-const nodes as values of Enum attributes.Claudiu Popa2019-02-053-4/+30
| | | | | | | | | | | | Close #612
* | | Fix a crash in the ``enum`` brain tip caused by non-assign members in class ↵Claudiu Popa2019-02-043-1/+25
| | | | | | | | | | | | | | | | | | definitions. Close PyCQA/pylint#2719
| * | Add a unittest checking that the call to numpy.array function is not ↵hippo912019-02-091-0/+71
| | | | | | | | | | | | inferred as a list or a tuple
| * | 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
| * Merge branch 'master' of https://github.com/PyCQA/astroidhippo912019-02-021-9/+9
| |\ | |/ |/|
* | Docs: Fixing transformation example to be functional (#640)Azeem Bande-Ali2019-01-281-9/+9
| | | | | | The previous example was referencing undefined variables and returning the wrong node.
| * Merge branch 'master' of https://github.com/PyCQA/astroidhippo912019-01-271-26/+26
| |\ | |/ |/|
* | Remove inadvertent returns from class bodiesClaudiu Popa2019-01-271-26/+26
| |
| * Merge branch 'master' of https://github.com/PyCQA/astroidhippo912019-01-267-301/+327
| |\ | |/ |/|
* | ``brain_numpy`` returns an undefined type for ``numpy`` methods to avoid ↵Claudiu Popa2019-01-252-272/+276
| | | | | | | | | | | | | | | | ``assignment-from-no-retur n`` Close PyCQA/pylint#2694
* | Bump typed_ast to 1.2.0Claudiu Popa2019-01-231-1/+1
| |
* | Avoid statement deletion in the _filter_stmts method of the LookupMixin ↵hippo912019-01-235-28/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | class for PartialFunction In the case where the node is a PartialFunction and its name is the same as the current statement's name, avoid the statement deletion. The problem was that a call to a function that has been previously called vit a functools.partial was wrongly inferred. The bug comes from the _filter_stmts method of the LookupMixin class. The deletion of the current statement should not be made in the case where the node is an instance of the PartialFunction class and if the node's name is the same as the statement's name. This change also extracts PartialFunction from brain_functools into astroid.objects so that we remove a circular import problem. Close PyCQA/pylint#2588