summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorCeridwen <ceridwenv@gmail.com>2015-09-13 16:33:14 -0400
committerCeridwen <ceridwenv@gmail.com>2015-09-13 16:33:14 -0400
commit36795ba6d2d4fd9a06c6145fd5605053fd5b93af (patch)
tree908b22815e92f11aab05669b5bd90ff075dd6770 /tox.ini
parent41a102e0f4091ed18e607f2580fe5f60233ae8e7 (diff)
parentb094a0d1d4ce9b19c5052aac286f546233d0e0c2 (diff)
downloadastroid-git-36795ba6d2d4fd9a06c6145fd5605053fd5b93af.tar.gz
Final draft of state printing after merge
This patch adds __str__` and `__repr__` methods to InferenceContext and alters the `__str__, `__repr__, and repr_tree() methods for NodeNG. The `__str__` methods print out formatted information about the object's fields; NodeNG's `__str__` method is not recursive. InferenceContext's __repr__` gives a compact representation of its fields. I slightly shortened NodeNG's `__repr__` method by removing a field that's usually empty. I rewrote repr_tree() to better format the information it contains and to display *all* the fields for each AST node, with some fields controlled by options to avoid spam. I also fixed https://bitbucket.org/logilab/astroid/issues/185/as_string-gives-wrong-result-for-keyword .
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 60f99b6c..53d017b1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,7 +2,9 @@
# official list is
# envlist = py27, py33, py34, pypy, jython
# envlist = py27, py34
-envlist = py27, py33, pylint
+# envlist = py27, py33, pylint
+# Disable pylint for now, since it's broken for latest astroid
+envlist = py27, py33
[testenv:pylint]
deps =