File tree Expand file tree Collapse file tree 3 files changed +71
-4
lines changed
Expand file tree Collapse file tree 3 files changed +71
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ default_language_version:
22 python : python
33repos :
44- repo : https://github.com/pre-commit/pre-commit-hooks
5- rev : v4.5 .0
5+ rev : v6.0 .0
66 hooks :
77 - id : check-merge-conflict
88 - id : debug-statements
@@ -14,12 +14,12 @@ repos:
1414 - id : trailing-whitespace
1515 exclude : ChangeLog-spell-corrected.diff
1616- repo : https://github.com/pycqa/isort
17- rev : 5.13.2
17+ rev : 8.0.1
1818 hooks :
1919 - id : isort
2020 stages : [pre-commit]
2121- repo : https://github.com/psf/black
22- rev : 25.11.0
22+ rev : 26.3.1
2323 hooks :
2424 - id : black
2525 language_version : python3
Original file line number Diff line number Diff line change 117117 "requires" : ["networkx" ],
118118}
119119
120+ _BUILTINS_ = (
121+ "AcyclicGraphQ" ,
122+ "AdjacencyList" ,
123+ "BalancedTree" ,
124+ "BarbellGraph" ,
125+ "BetweennessCentrality" ,
126+ "BinomialTree" ,
127+ "ClosenessCentrality" ,
128+ "CompleteGraph" ,
129+ "CompleteKaryTree" ,
130+ "ConnectedComponents" ,
131+ "ConnectedGraphQ" ,
132+ "CycleGraph" ,
133+ "DegreeCentrality" ,
134+ "DirectedEdge" ,
135+ "DirectedGraphQ" ,
136+ "EdgeConnectivity" ,
137+ "EdgeCount" ,
138+ "EdgeDelete" ,
139+ "EdgeIndex" ,
140+ "EdgeList" ,
141+ "EdgeRules" ,
142+ "EigenvectorCentrality" ,
143+ "FindShortestPath" ,
144+ "FindSpanningTree" ,
145+ "FindVertexCut" ,
146+ "Graph" ,
147+ "GraphAtlas" ,
148+ "GraphAtom" ,
149+ "GraphBox" ,
150+ "GraphData" ,
151+ "GraphDistance" ,
152+ "GraphQ" ,
153+ "HITSCentrality" ,
154+ "HighlightGraph" ,
155+ "HknHararyGraph" ,
156+ "HmnHararyGraph" ,
157+ "KaryTree" ,
158+ "KatzCentrality" ,
159+ "LadderGraph" ,
160+ "LoopFreeGraphQ" ,
161+ "MixedGraphQ" ,
162+ "MultigraphQ" ,
163+ "PageRankCentrality" ,
164+ "PathGraph" ,
165+ "PathGraphQ" ,
166+ "PlanarGraphQ" ,
167+ "Property" ,
168+ "PropertyValue" ,
169+ "RandomGraph" ,
170+ "RandomTree" ,
171+ "SimpleGraphQ" ,
172+ "StarGraph" ,
173+ "TreeGraph" ,
174+ "TreeGraphAtom" ,
175+ "TreeGraphQ" ,
176+ "UndirectedEdge" ,
177+ "VertexAdd" ,
178+ "VertexConnectivity" ,
179+ "VertexCount" ,
180+ "VertexDegree" ,
181+ "VertexDelete" ,
182+ "VertexIndex" ,
183+ "VertexList" ,
184+ "WeaklyConnectedComponents" ,
185+ )
186+
120187# These are the publicly exported names
121188__all__ = [
122189 "AcyclicGraphQ" ,
Original file line number Diff line number Diff line change 1010import tempfile
1111from typing import Tuple
1212
13- from mathics .core .element import BaseElement , BoxElementMixin
13+ from mathics .core .element import BoxElementMixin
1414
1515from pymathics .graph .format import png_format_graph , svg_format_graph
1616
You can’t perform that action at this time.
0 commit comments