summaryrefslogtreecommitdiff
path: root/astroid/tests/unittest_transforms.py
Commit message (Collapse)AuthorAgeFilesLines
* Initial formatting of astroidClaudiu Popa2018-10-021-36/+41
|
* Update the copyright noticesastroid-2.0Claudiu Popa2018-07-151-2/+4
|
* Stop infer_call_result from being improperly called in testsBryce Guinta2018-02-171-1/+1
| | | | | The calls previously implied that the result is being called from inside itself
* Fix lint warningsClaudiu Popa2017-10-121-0/+1
|
* Even more granular copyrights (thanks to copyrite)Claudiu Popa2016-07-221-2/+3
|
* Keep a consistent copyright notice across the board.Claudiu Popa2016-07-191-0/+2
|
* Fix typosJakub Wilk2016-06-021-1/+1
|
* Convert all files to new license headerCeridwen2016-05-161-245/+231
|
* Add a test for issue #188, which was triggered because the transforms ↵Claudiu Popa2015-10-031-0/+25
| | | | weren't executed in a separated step. Closes issue #188.
* Fix pylint issues.Claudiu Popa2015-08-251-18/+18
|
* Add tests for aliasesCeridwen2015-08-211-1/+0
|
* More fixes for bugs introduced during mergeCeridwen2015-08-181-20/+23
|
* There's a new separate step for transforms.Claudiu Popa2015-08-021-0/+218
Until now, the transforms were applied at the same time the tree was being built. This was problematic if the transform functions were using inference, since the inference was executed on a partially constructed tree, which led to failures when post-building information was needed (such as setting the _from_names for the From imports). Now there's a separate step for transforms, which are applied using transform.TransformVisitor. There's a couple of other related changes: * astroid.parse and AstroidBuilder gained a new parameter `apply_transforms`, which is a boolean flag, which will control if the transforms are applied. We do this because there are uses when the vanilla tree is wanted, without any implicit modification. * the transforms are also applied for builtin modules, as a side effect of the fact that transform visiting was moved in AstroidBuilder._post_build from AstroidBuilder._data_build. Closes issue #116.