Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix Useless suppression of 'unused-import' | Pierre Sassoulas | 2021-04-24 | 1 | -1/+1 |
| | |||||
* | Apply suggestion following review | Pierre Sassoulas | 2021-04-20 | 1 | -1/+1 |
| | |||||
* | Update comment in astroid.nodes | Pierre Sassoulas | 2021-04-20 | 1 | -1/+5 |
| | |||||
* | Add an isort configuration in setup.cfg and apply it | Pierre Sassoulas | 2021-04-19 | 1 | -23/+21 |
| | | | | Except on astroid/__init__.py because of circular imports | ||||
* | Fix issue #891 | Pierre Sassoulas | 2021-04-10 | 1 | -1/+1 |
| | | | | Remove outdated COPYING and rename COPYING.LESSER | ||||
* | Add missing copyright annotations for the past releases | Claudiu Popa | 2020-04-27 | 1 | -1/+1 |
| | |||||
* | Add a new EvaluatedObject container | Claudiu Popa | 2020-03-10 | 1 | -0/+1 |
| | | | | | | | | | This container is used to store values that have already been evaluated. For instance, 79d5a3a783cf0b5a729e4e467508e955a0cca55f added support for inferring `tuple()` call arguments, but as a result, the `elts` of a `Tuple` can be objects not *references*. As a result, `Tuple.elts` can contain class objects rather than references (names) to class object. The `EvaluatedObject` helps with that, as we still have to call `.infer()` (albeit a no-op) to grab the inferred value of an element. | ||||
* | Add support for Python 3.8's `NamedExpr` nodes, which is part of assignment ↵ | Claudiu Popa | 2019-06-01 | 1 | -0/+2 |
| | | | | | | expressions. Close #674 | ||||
* | Initial formatting of astroid | Claudiu Popa | 2018-10-02 | 1 | -33/+136 |
| | |||||
* | Update the copyright noticesastroid-2.0 | Claudiu Popa | 2018-07-15 | 1 | -2/+7 |
| | |||||
* | kill aliases scheduled for removal | Claudiu Popa | 2018-05-24 | 1 | -4/+0 |
| | |||||
* | Revert "Move FrozenSet to node_classes so it is accessible" | Bryce Guinta | 2018-03-11 | 1 | -1/+1 |
| | | | | This reverts commit 06273cd07d4b3701998df7b2c656d1b029bdee8e. | ||||
* | Move FrozenSet to node_classes so it is accessible | Bryce Guinta | 2018-03-11 | 1 | -1/+1 |
| | | | | importing astroid.objects causes curcular imports with manager | ||||
* | Public facing node documentation | Ashley Whetter | 2017-11-05 | 1 | -16/+4 |
| | |||||
* | Use nodes.Unknown instead of Uninferable for specifying unknown inference ↵ | Claudiu Popa | 2017-03-12 | 1 | -0/+1 |
| | | | | | | | results In the context of binop inference for lists and tuples, we were rebuilding a collection with the inferred elements. We were using Uninferable for specifying inference failures, but this leads to having non-AST nodes in collection's elts attribute, which should not happen. Instead, we replaced Uninferable with Unknown, meaning now we have an AST object. | ||||
* | Add support for Python 3.6's annotated assignment nodes | rr- | 2017-02-09 | 1 | -2/+2 |
| | |||||
* | add format string support (#365) | Jared Garst | 2016-10-24 | 1 | -0/+2 |
| | | | Format strings require support for two new nodes, FormattedValue, respectively JoinedStr. | ||||
* | Even more granular copyrights (thanks to copyrite) | Claudiu Popa | 2016-07-22 | 1 | -2/+5 |
| | |||||
* | Keep a consistent copyright notice across the board. | Claudiu Popa | 2016-07-19 | 1 | -0/+2 |
| | |||||
* | Convert all files to new license header | Ceridwen | 2016-05-16 | 1 | -17/+3 |
| | |||||
* | Add a new node, DictUnpack, for representing the unpacking of a dict using ↵ | Claudiu Popa | 2015-10-06 | 1 | -3/+5 |
| | | | | | | | | | PEP 448 This is a different approach than what the builtin ast module does, since it just uses None to represent this kind of operation, which seems conceptually wrong, due to the fact the AST contains non-AST nodes. Closes issue #206. | ||||
* | Fix trailing whitespaces and add the missing code that wasn't added in the ↵ | Claudiu Popa | 2015-09-11 | 1 | -1/+1 |
| | | | | previous commit. | ||||
* | Second pass of the Python 3.5 support: adding Async nodes. | Claudiu Popa | 2015-09-07 | 1 | -1/+4 |
| | |||||
* | First pass of the Python 3.5 support. | Claudiu Popa | 2015-09-07 | 1 | -1/+2 |
| | |||||
* | Merge main into default | Ceridwen | 2015-08-14 | 1 | -2/+0 |
|\ | |||||
| * | Remove the useless __docformat__ variable. | Claudiu Popa | 2015-07-23 | 1 | -2/+0 |
| | | |||||
* | | Move proxies to nodes.py and scoped_nodes.py | Ceridwen | 2015-07-13 | 1 | -21/+6 |
| | | |||||
* | | Fix code review comments. | Ceridwen | 2015-07-13 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | Added aliases for inferred() and assign_type(), refactor some uses of ternary if, remove some now-unused internal functions in rebuilder, replaced the mutating docstring function with one that returns values as well as side-effects, change back to lazy-object-proxy, and add keyword args to the Module call in rebuilder. | ||||
* | | Fix isinstance/proxy bug by changing from lazy-object-proxy to wrapt and ↵ | Ceridwen | 2015-07-11 | 1 | -3/+4 |
| | | | | | | | | minor fixes | ||||
* | | Fix small formatting issues | Ceridwen | 2015-07-10 | 1 | -1/+1 |
| | | |||||
* | | Refactor node classes to have constructors and change some names. | Ceridwen | 2015-07-10 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I corrected the spelling of 'infered' to 'infered' and changed some to make them more consistent with the built-in ast module and to read better in English. I created aliases with proxy objects to maintain backwards compatibility. I also refactored the node classes so that they have __init__ and postinit functions. The postinit function has to be called after the creation of a parent with the instances of its children because the node __init__ functions have to take a parent instance to maintain the doubly-linked structure of the AST. This involved moving considerable amounts of node-construction logic from rebuilder.py to node_classes.py and scoped_nodes.py. | ||||
* | | Node constructors almost finished except for two bugs | Ceridwen | 2015-07-08 | 1 | -14/+14 |
|/ | |||||
* | Fix pylint warnings over astroid, update the list of disabled messages in ↵ | Claudiu Popa | 2015-05-19 | 1 | -11/+14 |
| | | | | pylintrc. | ||||
* | Fix all unused imports in the code base. | Claudiu Popa | 2015-01-29 | 1 | -0/+1 |
| | | | | Also, this patch adds a new rule in the pylintrc for the CI gate. | ||||
* | Move all astroid modules into a its own directory, which is now the package. | Torsten Marek | 2014-11-08 | 1 | -0/+73 |
python setup.py develop now works. |