@@ -17,25 +17,9 @@ Any Python Tree Data
17
17
.. image :: https://readthedocs.org/projects/anytree/badge/?version=stable
18
18
:target: https://anytree.readthedocs.io/en/stable/
19
19
20
- .. image :: https://api.codeclimate.com/v1/badges/e6d325d6fd23a93aab20/maintainability
21
- :target: https://codeclimate.com/github/c0fec0de/anytree/maintainability
22
- :alt: Maintainability
23
-
24
20
.. image :: https://img.shields.io/pypi/pyversions/anytree.svg
25
21
:target: https://pypi.python.org/pypi/anytree
26
22
27
- .. image :: https://img.shields.io/badge/code%20style-pep8-brightgreen.svg
28
- :target: https://www.python.org/dev/peps/pep-0008/
29
-
30
- .. image :: https://img.shields.io/badge/code%20style-pep257-brightgreen.svg
31
- :target: https://www.python.org/dev/peps/pep-0257/
32
-
33
- .. image :: https://img.shields.io/badge/linter-pylint-%231674b1?style=flat
34
- :target: https://www.pylint.org/
35
-
36
- .. image :: https://img.shields.io/badge/code%20style-black-000000.svg
37
- :target: https://github.com/psf/black
38
-
39
23
.. image :: https://img.shields.io/github/contributors/c0fec0de/anytree.svg
40
24
:target: https://github.com/c0fec0de/anytree/graphs/contributors/
41
25
@@ -135,7 +119,7 @@ For details see :any:`Node` and :any:`RenderTree`.
135
119
136
120
>>> from anytree.exporter import UniqueDotExporter
137
121
>>> # graphviz needs to be installed for the next line!
138
- >>> UniqueDotExporter(udo).to_picture(" udo.png" )
122
+ >>> UniqueDotExporter(udo).to_picture(" udo.png" ) # doctest: +SKIP
139
123
140
124
.. image :: static/udo.png
141
125
@@ -144,7 +128,7 @@ The :any:`UniqueDotExporter` can be started at any node and has various formatti
144
128
>>> UniqueDotExporter(dan,
145
129
... nodeattrfunc= lambda node : " fixedsize=true, width=1, height=1, shape=diamond" ,
146
130
... edgeattrfunc= lambda parent , child : " style=bold"
147
- ... ).to_picture(" dan.png" )
131
+ ... ).to_picture(" dan.png" ) # doctest: +SKIP
148
132
149
133
.. image :: static/dan.png
150
134
@@ -204,7 +188,7 @@ Node('/Mary')
204
188
205
189
**Extending any python class to become a tree node **
206
190
207
- The enitre tree magic is encapsulated by :any: `NodeMixin `,
191
+ The entire tree magic is encapsulated by :any: `NodeMixin `,
208
192
add it as base class and the class becomes a tree node:
209
193
210
194
>>> from anytree import NodeMixin, RenderTree
0 commit comments