Skip to content

Commit 5436f69

Browse files
Automatic ITensorFormatter run (#118)
Co-authored-by: mtfishman <7855256+mtfishman@users.noreply.github.com> Co-authored-by: mtfishman <mfishman@flatironinstitute.org>
1 parent fbdcb5e commit 5436f69

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+510
-701
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "NamedGraphs"
22
uuid = "678767b0-92e7-4007-89e4-4527a8725b19"
3-
version = "0.10.1"
3+
version = "0.10.2"
44
authors = ["Matthew Fishman <mfishman@flatironinstitute.org>, Joseph Tindall <jtindall@flatironinstitute.org> and contributors"]
55

66
[deps]

benchmark/benchmarks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using NamedGraphs
21
using BenchmarkTools
2+
using NamedGraphs
33

44
SUITE = BenchmarkGroup()
55
SUITE["rand"] = @benchmarkable rand(10)

docs/make.jl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using NamedGraphs: NamedGraphs
21
using Documenter: Documenter, DocMeta, deploydocs, makedocs
2+
using NamedGraphs: NamedGraphs
33

44
DocMeta.setdocmeta!(NamedGraphs, :DocTestSetup, :(using NamedGraphs); recursive = true)
55

@@ -12,9 +12,13 @@ makedocs(;
1212
format = Documenter.HTML(;
1313
canonical = "https://itensor.github.io/NamedGraphs.jl",
1414
edit_link = "main",
15-
assets = ["assets/favicon.ico", "assets/extras.css"],
15+
assets = ["assets/favicon.ico", "assets/extras.css"]
1616
),
17-
pages = ["Home" => "index.md", "Reference" => "reference.md"],
17+
pages = ["Home" => "index.md", "Reference" => "reference.md"]
1818
)
1919

20-
deploydocs(; repo = "github.com/ITensor/NamedGraphs.jl", devbranch = "main", push_preview = true)
20+
deploydocs(;
21+
repo = "github.com/ITensor/NamedGraphs.jl",
22+
devbranch = "main",
23+
push_preview = true
24+
)

docs/make_index.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Literate.markdown(
1717
joinpath(pkgdir(NamedGraphs), "docs", "src");
1818
flavor = Literate.DocumenterFlavor(),
1919
name = "index",
20-
postprocess = ccq_logo,
20+
postprocess = ccq_logo
2121
)

docs/make_readme.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Literate.markdown(
1717
joinpath(pkgdir(NamedGraphs));
1818
flavor = Literate.CommonMarkFlavor(),
1919
name = "README",
20-
postprocess = ccq_logo,
20+
postprocess = ccq_logo
2121
)

examples/disjoint_union.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Graphs: grid
2+
using NamedGraphs.GraphsExtensions: subgraph,
23
using NamedGraphs: NamedGraph
3-
using NamedGraphs.GraphsExtensions: , subgraph
44

55
g1 = NamedGraph(grid((2, 2)), Tuple.(CartesianIndices((2, 2))))
66
g2 = NamedGraph(grid((2, 2)), Tuple.(CartesianIndices((2, 2))))

examples/mincut.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Graphs: path_graph
2-
using NamedGraphs: NamedGraph
32
using NamedGraphs.GraphsExtensions: mincut_partitions
3+
using NamedGraphs: NamedGraph
44

55
g = NamedGraph(path_graph(4), ["A", "B", "C", "D"])
66

examples/multidimgraph_1d.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Graphs: grid, has_edge, has_vertex, ne, nv
2+
using NamedGraphs.GraphsExtensions: subgraph,
23
using NamedGraphs: NamedGraph
3-
using NamedGraphs.GraphsExtensions: , subgraph
44

55
position_graph = grid((4,))
66
vs = ["A", "B", "C", "D"]

examples/multidimgraph_2d.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Graphs: grid, has_edge, has_vertex, nv
2+
using NamedGraphs.GraphsExtensions: subgraph,
23
using NamedGraphs: NamedGraph
3-
using NamedGraphs.GraphsExtensions: , subgraph
44

55
position_graph = grid((2, 2))
66
vs = [("X", 1), ("X", 2), ("Y", 1), ("Y", 2)]

examples/namedgraph.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Graphs: add_edge!, grid, has_edge, has_vertex, neighbors
2-
using NamedGraphs: NamedGraph
32
using NamedGraphs.GraphsExtensions: subgraph
3+
using NamedGraphs: NamedGraph
44

55
g = NamedGraph(grid((4,)), ["A", "B", "C", "D"])
66

0 commit comments

Comments
 (0)