diff --git a/.JuliaFormatter.toml b/.JuliaFormatter.toml index 49843713..a580c42d 100644 --- a/.JuliaFormatter.toml +++ b/.JuliaFormatter.toml @@ -1,7 +1,12 @@ -style = "blue" +always_for_in = true import_to_using = false +align_pair_arrow = true +align_assignment = true +align_conditional = true always_use_return = false conditional_to_if = false -whitespace_typedefs = true +whitespace_in_kwargs = true +remove_extra_newlines = true +whitespace_ops_in_indices = true short_to_long_function_def = false annotate_untyped_fields_with_any = false diff --git a/src/Plots.jl b/src/Plots.jl index 5b067f0a..2efe1f7f 100644 --- a/src/Plots.jl +++ b/src/Plots.jl @@ -25,6 +25,7 @@ import JSON using Requires +#! format: off export grid, bbox, @@ -117,7 +118,7 @@ export scalefontsize, scalefontsizes, resetfontsizes - +#! format: on # --------------------------------------------------------- import NaNMath # define functions that ignores NaNs. To overcome the destructive effects of https://github.com/JuliaLang/julia/pull/12563