diff --git a/Project.toml b/Project.toml index 922c466..c7a217d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "ITensorFormatter" uuid = "b6bf39f1-c9d3-4bad-aad8-593d802f65fd" -version = "0.2.6" +version = "0.2.7" authors = ["ITensor developers and contributors"] [workspace] @@ -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] diff --git a/docs/make.jl b/docs/make.jl index 921916c..83c1ace 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -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") @@ -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 ) diff --git a/docs/make_index.jl b/docs/make_index.jl index e70dcf8..fc3cdba 100644 --- a/docs/make_index.jl +++ b/docs/make_index.jl @@ -17,5 +17,5 @@ Literate.markdown( joinpath(pkgdir(ITensorFormatter), "docs", "src"); flavor = Literate.DocumenterFlavor(), name = "index", - postprocess = ccq_logo, + postprocess = ccq_logo ) diff --git a/docs/make_readme.jl b/docs/make_readme.jl index 2959259..d85f32b 100644 --- a/docs/make_readme.jl +++ b/docs/make_readme.jl @@ -17,5 +17,5 @@ Literate.markdown( joinpath(pkgdir(ITensorFormatter)); flavor = Literate.CommonMarkFlavor(), name = "README", - postprocess = ccq_logo, + postprocess = ccq_logo ) diff --git a/src/ITensorFormatter.jl b/src/ITensorFormatter.jl index 9cb985b..0017ec6 100644 --- a/src/ITensorFormatter.jl +++ b/src/ITensorFormatter.jl @@ -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) @@ -200,7 +200,7 @@ function print_help() --version Print ITensorFormatter and julia version information. - """, + """ ) return end diff --git a/test/runtests.jl b/test/runtests.jl index f97c7b1..e5afded 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -13,7 +13,7 @@ const GROUP = uppercase( arg == "" ? "ALL" : arg else only(match(pat, ARGS[arg_id]).captures) - end, + end ) """ @@ -65,7 +65,7 @@ end :macrocall, GlobalRef(Suppressor, Symbol("@suppress")), LineNumberNode(@__LINE__, @__FILE__), - :(include($filename)), + :(include($filename)) ) ) end