Skip to content

Commit

Permalink
Revert "Use formatter GHA"
Browse files Browse the repository at this point in the history
This reverts commit 12e22c0.
  • Loading branch information
Sbozzolo committed May 18, 2024
1 parent 9eb9f8d commit 1e1a9a1
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 207 deletions.
5 changes: 5 additions & 0 deletions .JuliaFormatter.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
margin = 80
indent = 4
always_for_in = true
whitespace_typedefs = true
whitespace_ops_in_indices = true
2 changes: 0 additions & 2 deletions .dev/Project.toml

This file was deleted.

35 changes: 0 additions & 35 deletions .dev/clima_formatter_default_image.jl

This file was deleted.

33 changes: 0 additions & 33 deletions .dev/clima_formatter_image.jl

This file was deleted.

7 changes: 0 additions & 7 deletions .dev/clima_formatter_options.jl

This file was deleted.

85 changes: 0 additions & 85 deletions .dev/climaformat.jl

This file was deleted.

5 changes: 0 additions & 5 deletions .dev/precompile.jl

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/JuliaFormatter.yml

This file was deleted.

12 changes: 12 additions & 0 deletions test/format.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using Test

import JuliaFormatter
import ClimaDiagnostics

@testset "Formatting" begin
@test JuliaFormatter.format(
ClimaDiagnostics;
verbose = false,
overwrite = false,
)
end
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ using Test

#! format: off
@safetestset "Aqua" begin @time include("aqua.jl") end
@safetestset "Format" begin @time include("format.jl") end
@safetestset "Doctest" begin @time include("doctest.jl") end

@safetestset "Writers" begin @time include("writers.jl") end
Expand Down

0 comments on commit 1e1a9a1

Please sign in to comment.