Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Feb 8, 2024
1 parent f44dc95 commit 4c9558d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install JuliaFormatter and format
run: |
julia -e 'using Pkg; Pkg.add(PackageSpec(name = "JuliaFormatter"))'
julia -e 'using JuliaFormatter; format(["src", "test", "examples"], verbose = true)'
julia -e 'using JuliaFormatter; format(["src", "test", "examples", "docs"], verbose = true)'
- name: Format check
run: |
julia -e '
Expand Down
8 changes: 4 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ using TrixiBase
# Define module-wide setups such that the respective modules are available in doctests
DocMeta.setdocmeta!(DispersiveShallowWater, :DocTestSetup, :(using DispersiveShallowWater);
recursive = true)
DocMeta.setdocmeta!(TrixiBase, :DocTestSetup, :(using TrixiBase); recursive=true)
DocMeta.setdocmeta!(TrixiBase, :DocTestSetup, :(using TrixiBase); recursive = true)

makedocs(;
modules = [DispersiveShallowWater, TrixiBase],
Expand All @@ -21,9 +21,9 @@ makedocs(;
"Home" => "index.md",
"Overview" => "overview.md",
"Reference" => [
"TrixiBase" => "ref-trixibase.md",
"DispersiveShallowWater" => "ref.md"
],
"TrixiBase" => "ref-trixibase.md",
"DispersiveShallowWater" => "ref.md",
],
"License" => "license.md",
])

Expand Down
4 changes: 2 additions & 2 deletions test/test_util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Modified version of `@test_nowarn expr` that prints the content of `stderr` when
it is not empty and ignores some common info statements printed in DispersiveShallowWater.jl
uses.
"""
macro test_nowarn_mod(expr, additional_ignore_content=String[])
macro test_nowarn_mod(expr, additional_ignore_content = String[])
quote
let fname = tempname()
try
Expand Down Expand Up @@ -226,7 +226,7 @@ macro test_nowarn_mod(expr, additional_ignore_content=String[])
@test occursin(r"^(WARNING: replacing module .+\.\n)*$", stderr_content)
ret
finally
rm(fname, force=true)
rm(fname, force = true)
end
end
end
Expand Down

0 comments on commit 4c9558d

Please sign in to comment.