diff options
author | Ceridwen <ceridwenv@gmail.com> | 2015-07-10 11:48:53 -0400 |
---|---|---|
committer | Ceridwen <ceridwenv@gmail.com> | 2015-07-10 11:48:53 -0400 |
commit | f75eecb94101ee67995b4066971a3d8b8363fe65 (patch) | |
tree | 6114adf807788325dc44667446e5d47b7a9b37f4 /tox.ini | |
parent | c301d737567bed9c54ea95f73f8f681c99d102cf (diff) | |
download | astroid-f75eecb94101ee67995b4066971a3d8b8363fe65.tar.gz |
Refactor node classes to have constructors and change some names.
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.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5,6 +5,7 @@ envlist = py27, py34 [testenv:pylint]
deps =
+ lazy_object_proxy
logilab-common
six
hg+https://bitbucket.org/logilab/astroid
@@ -13,6 +14,7 @@ commands = pylint -rn --rcfile={toxinidir}/pylintrc {envsitepackagesdir}/astroid [testenv]
deps =
+ lazy_object_proxy
logilab-common
six
|