Skip to content

Commit

Permalink
Format code with JuliaFormatter (#47)
Browse files Browse the repository at this point in the history
* Run JuliaFormatter

* Add formatting tests

* Fix language selection in example notebook
  • Loading branch information
adrhill authored Sep 16, 2024
1 parent b161f7d commit fdb6b40
Show file tree
Hide file tree
Showing 19 changed files with 1,589 additions and 896 deletions.
1 change: 1 addition & 0 deletions .JuliaFormatter.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
style = "blue"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/Manifest.toml
/test/Manifest.toml
data
12 changes: 6 additions & 6 deletions demo_module.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module Demo
export hello, hundred

function hello()
return "Hello!"
end

hundred = 100
export hello, hundred

function hello()
return "Hello!"
end

hundred = 100

end # module
Loading

0 comments on commit fdb6b40

Please sign in to comment.