Skip to content

Commit 8628a38

Browse files
asinghvi17claude
andcommitted
style: apply runic formatting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4bef7e3 commit 8628a38

2 files changed

Lines changed: 14 additions & 13 deletions

File tree

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ end
3131

3232
function activate_trim_env()
3333
Pkg.activate("trim")
34-
Pkg.instantiate()
34+
return Pkg.instantiate()
3535
end
3636

3737
#Start Test Script

test/trim/trim_tests.jl

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Base.@kwdef struct SolverConfig
2323
display_name::String # human-readable name for log messages
2424
end
2525

26-
const SOLVER_CONFIGS = Dict{String,SolverConfig}(
26+
const SOLVER_CONFIGS = Dict{String, SolverConfig}(
2727
"tsit5" => SolverConfig(
2828
pkg = "OrdinaryDiffEqTsit5",
2929
uuid = "b1df2697-797e-41e3-8120-5422d3b24e4a",
@@ -64,23 +64,23 @@ const LIB_REL_PATH = "../../.."
6464
# Packages with a non-nothing lib_subdir get a [sources] entry pointing to
6565
# the local monorepo checkout.
6666
const ALL_DEPS = Dict(
67-
"ADTypes" => ("47edcb42-4c32-4615-8424-f2b9edc5f35b", nothing),
68-
"LinearSolve" => ("7ed4a6bd-45f5-4d41-b270-4a48e9bafcae", nothing),
69-
"SciMLBase" => ("0bca4576-84f4-4d90-8ffe-ffa030f20462", nothing),
70-
"SciMLLogging" => ("a6db7da4-7206-11f0-1eab-35f2a5dbe1d1", nothing),
71-
"OrdinaryDiffEqCore" => ("bbf590c4-e513-4bbe-9b18-05decba2e5d8", "OrdinaryDiffEqCore"),
72-
"OrdinaryDiffEqTsit5" => ("b1df2697-797e-41e3-8120-5422d3b24e4a", "OrdinaryDiffEqTsit5"),
73-
"OrdinaryDiffEqBDF" => ("6ad6398a-0878-4a85-9266-38940aa047c8", "OrdinaryDiffEqBDF"),
67+
"ADTypes" => ("47edcb42-4c32-4615-8424-f2b9edc5f35b", nothing),
68+
"LinearSolve" => ("7ed4a6bd-45f5-4d41-b270-4a48e9bafcae", nothing),
69+
"SciMLBase" => ("0bca4576-84f4-4d90-8ffe-ffa030f20462", nothing),
70+
"SciMLLogging" => ("a6db7da4-7206-11f0-1eab-35f2a5dbe1d1", nothing),
71+
"OrdinaryDiffEqCore" => ("bbf590c4-e513-4bbe-9b18-05decba2e5d8", "OrdinaryDiffEqCore"),
72+
"OrdinaryDiffEqTsit5" => ("b1df2697-797e-41e3-8120-5422d3b24e4a", "OrdinaryDiffEqTsit5"),
73+
"OrdinaryDiffEqBDF" => ("6ad6398a-0878-4a85-9266-38940aa047c8", "OrdinaryDiffEqBDF"),
7474
"OrdinaryDiffEqRosenbrock" => ("43230ef6-c299-4910-a778-202eb28ce4ce", "OrdinaryDiffEqRosenbrock"),
75-
"OrdinaryDiffEqDefault" => ("50262376-6c5a-4cf5-baba-aaf4f84d72d7", "OrdinaryDiffEqDefault"),
76-
"DiffEqBase" => ("2b5f629d-d688-5b77-993f-72d75c75574e", "DiffEqBase"),
75+
"OrdinaryDiffEqDefault" => ("50262376-6c5a-4cf5-baba-aaf4f84d72d7", "OrdinaryDiffEqDefault"),
76+
"DiffEqBase" => ("2b5f629d-d688-5b77-993f-72d75c75574e", "DiffEqBase"),
7777
)
7878

7979
# ── Code generation ────────────────────────────────────────────────────
8080

8181
function generate_project_toml(cfg::SolverConfig)
82-
deps = Dict{String,String}()
83-
sources = Dict{String,String}()
82+
deps = Dict{String, String}()
83+
sources = Dict{String, String}()
8484

8585
# Add all shared deps + local packages
8686
for (pkg, (uuid, lib_subdir)) in ALL_DEPS
@@ -250,6 +250,7 @@ function run_trim_tests(solvers = SOLVER_ORDER)
250250
end
251251
end
252252
end
253+
return
253254
end
254255

255256
run_trim_tests()

0 commit comments

Comments
 (0)