Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "ITensorFormatter"
uuid = "b6bf39f1-c9d3-4bad-aad8-593d802f65fd"
version = "0.2.6"
version = "0.2.7"
authors = ["ITensor developers <support@itensor.org> and contributors"]

[workspace]
Expand All @@ -11,11 +11,10 @@ JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
JuliaSyntax = "70703baa-626e-46a2-a12c-08ffd08c73b4"
Runic = "62bfec6d-59d7-401d-8490-b29ee721c001"

[apps]
itfmt = {}

[compat]
JuliaFormatter = "2.3"
JuliaSyntax = "0.4.10"
Runic = "1.5.1"
julia = "1.10"

[apps.itfmt]
8 changes: 4 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ using Documenter: Documenter, DocMeta, deploydocs, makedocs
using ITensorFormatter: ITensorFormatter

DocMeta.setdocmeta!(
ITensorFormatter, :DocTestSetup, :(using ITensorFormatter); recursive = true,
ITensorFormatter, :DocTestSetup, :(using ITensorFormatter); recursive = true
)

include("make_index.jl")
Expand All @@ -14,11 +14,11 @@ makedocs(;
format = Documenter.HTML(;
canonical = "https://itensor.github.io/ITensorFormatter.jl",
edit_link = "main",
assets = ["assets/favicon.ico", "assets/extras.css"],
assets = ["assets/favicon.ico", "assets/extras.css"]
),
pages = ["Home" => "index.md", "Reference" => "reference.md"],
pages = ["Home" => "index.md", "Reference" => "reference.md"]
)

deploydocs(;
repo = "github.com/ITensor/ITensorFormatter.jl", devbranch = "main", push_preview = true,
repo = "github.com/ITensor/ITensorFormatter.jl", devbranch = "main", push_preview = true
)
2 changes: 1 addition & 1 deletion docs/make_index.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ Literate.markdown(
joinpath(pkgdir(ITensorFormatter), "docs", "src");
flavor = Literate.DocumenterFlavor(),
name = "index",
postprocess = ccq_logo,
postprocess = ccq_logo
)
2 changes: 1 addition & 1 deletion docs/make_readme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ Literate.markdown(
joinpath(pkgdir(ITensorFormatter));
flavor = Literate.CommonMarkFlavor(),
name = "README",
postprocess = ccq_logo,
postprocess = ccq_logo
)
4 changes: 2 additions & 2 deletions src/ITensorFormatter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function print_help()
io, """
`ITensorFormatter.main` (typically invoked as `julia -m ITensorFormatter`)
formats Julia source code using the ITensorFormatter.jl formatter.
""",
"""
)
printstyled(io, "OPTIONS"; bold = true)
println(io)
Expand All @@ -200,7 +200,7 @@ function print_help()

--version
Print ITensorFormatter and julia version information.
""",
"""
)
return
end
Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const GROUP = uppercase(
arg == "" ? "ALL" : arg
else
only(match(pat, ARGS[arg_id]).captures)
end,
end
)

"""
Expand Down Expand Up @@ -65,7 +65,7 @@ end
:macrocall,
GlobalRef(Suppressor, Symbol("@suppress")),
LineNumberNode(@__LINE__, @__FILE__),
:(include($filename)),
:(include($filename))
)
)
end
Expand Down
Loading