-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #316 from NREL-Sienna/jd/add_infos
Jd/add infos
- Loading branch information
Showing
54 changed files
with
2,408 additions
and
1,562 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using Pkg | ||
Pkg.activate(@__DIR__) | ||
Pkg.instantiate() | ||
Pkg.update() | ||
|
||
using JuliaFormatter | ||
|
||
main_paths = ["./src", "./test"] | ||
for main_path in main_paths | ||
for (root, dir, files) in walkdir(main_path) | ||
for f in files | ||
@show file_path = abspath(root, f) | ||
!occursin(".jl", f) && continue | ||
format(file_path; | ||
whitespace_ops_in_indices = true, | ||
remove_extra_newlines = true, | ||
verbose = true, | ||
always_for_in = true, | ||
whitespace_typedefs = true, | ||
conditional_to_if = true, | ||
join_lines_based_on_source = true, | ||
separate_kwargs_with_semicolon = true, | ||
|
||
# always_use_return = true. # Disabled since it throws a lot of false positives | ||
) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.