diff --git a/Project.toml b/Project.toml index 8818940..1b113b6 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "UnspecifiedTypes" uuid = "42b3faec-625b-4613-8ddc-352bf9672b8d" +version = "0.1.8" authors = ["ITensor developers and contributors"] -version = "0.1.7" [compat] julia = "1.10" diff --git a/benchmark/benchmarks.jl b/benchmark/benchmarks.jl index 611b135..0ccaf55 100644 --- a/benchmark/benchmarks.jl +++ b/benchmark/benchmarks.jl @@ -1,5 +1,5 @@ -using UnspecifiedTypes using BenchmarkTools +using UnspecifiedTypes SUITE = BenchmarkGroup() SUITE["rand"] = @benchmarkable rand(10) diff --git a/docs/make.jl b/docs/make.jl index 2a0c72a..8553d88 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,5 +1,5 @@ -using UnspecifiedTypes: UnspecifiedTypes using Documenter: Documenter, DocMeta, deploydocs, makedocs +using UnspecifiedTypes: UnspecifiedTypes DocMeta.setdocmeta!( UnspecifiedTypes, :DocTestSetup, :(using UnspecifiedTypes); recursive = true @@ -14,9 +14,9 @@ makedocs(; format = Documenter.HTML(; canonical = "https://itensor.github.io/UnspecifiedTypes.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(; diff --git a/docs/make_index.jl b/docs/make_index.jl index ae2b8aa..b279393 100644 --- a/docs/make_index.jl +++ b/docs/make_index.jl @@ -17,5 +17,5 @@ Literate.markdown( joinpath(pkgdir(UnspecifiedTypes), "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 5065491..0b404de 100644 --- a/docs/make_readme.jl +++ b/docs/make_readme.jl @@ -17,5 +17,5 @@ Literate.markdown( joinpath(pkgdir(UnspecifiedTypes)); flavor = Literate.CommonMarkFlavor(), name = "README", - postprocess = ccq_logo, + postprocess = ccq_logo ) diff --git a/test/runtests.jl b/test/runtests.jl index 39c332d..9786268 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -10,14 +10,19 @@ const GROUP = uppercase( get(ENV, "GROUP", "ALL") else only(match(pat, ARGS[arg_id]).captures) - end, + end ) -"match files of the form `test_*.jl`, but exclude `*setup*.jl`" +""" +match files of the form `test_*.jl`, but exclude `*setup*.jl` +""" function istestfile(fn) - return endswith(fn, ".jl") && startswith(basename(fn), "test_") && !contains(fn, "setup") + return endswith(fn, ".jl") && startswith(basename(fn), "test_") && + !contains(fn, "setup") end -"match files of the form `*.jl`, but exclude `*_notest.jl` and `*setup*.jl`" +""" +match files of the form `*.jl`, but exclude `*_notest.jl` and `*setup*.jl` +""" function isexamplefile(fn) return endswith(fn, ".jl") && !endswith(fn, "_notest.jl") && !contains(fn, "setup") end @@ -26,7 +31,8 @@ end # tests in groups based on folder structure for testgroup in filter(isdir, readdir(@__DIR__)) if GROUP == "ALL" || GROUP == uppercase(testgroup) - for file in filter(istestfile, readdir(joinpath(@__DIR__, testgroup); join = true)) + for file in + filter(istestfile, readdir(joinpath(@__DIR__, testgroup); join = true)) @eval @safetestset $file begin include($file) end @@ -55,7 +61,7 @@ end :macrocall, GlobalRef(Suppressor, Symbol("@suppress")), LineNumberNode(@__LINE__, @__FILE__), - :(include($filename)), + :(include($filename)) ) ) end diff --git a/test/test_aqua.jl b/test/test_aqua.jl index 5d7a146..cd5897c 100644 --- a/test/test_aqua.jl +++ b/test/test_aqua.jl @@ -1,6 +1,6 @@ -using UnspecifiedTypes: UnspecifiedTypes using Aqua: Aqua using Test: @testset +using UnspecifiedTypes: UnspecifiedTypes @testset "Code quality (Aqua.jl)" begin Aqua.test_all(UnspecifiedTypes) diff --git a/test/test_basics.jl b/test/test_basics.jl index ea85dc6..53a7826 100644 --- a/test/test_basics.jl +++ b/test/test_basics.jl @@ -1,5 +1,5 @@ +using Test: @test, @testset using UnspecifiedTypes: UnspecifiedZero -using Test: @testset, @test @testset "UnspecifiedTypes (eltype=$elt)" for elt in ( Float32, Float64, Complex{Float32}, Complex{Float64},