summaryrefslogtreecommitdiff
path: root/astroid/tests/unittest_transforms.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Convert all files to new license headerCeridwen2016-05-171-245/+231
|
* Revert "Try to solve the packaging issues again"Claudiu Popa2016-02-111-0/+245
| | | | This reverts commit d37b81de4f1e64abc2f222c487785d816ab469ea.
* Try to solve the packaging issues againCeridwen2016-02-081-245/+0
|
* Refactor Compare nodes to have two sequences, ops and comparators, ↵Ceridwen2016-01-081-1/+1
| | | | corresponding to the stdlib Compare node.
* Finish removing const_factory, fix funcsigs typo and miscellaneous small ↵Ceridwen2015-10-261-3/+3
| | | | test failures
* 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.