Skip to content

Commit

Permalink
add Format yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oameye committed Jun 12, 2024
1 parent b6bf324 commit ca6a18b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .JuliaFormatter.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
style = "blue"
align_assignment = true
align_struct_field = true
align_conditional = true
align_pair_arrow = true
align_matrix = true
9 changes: 9 additions & 0 deletions .github/workflows/Format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Format suggestions

on: [pull_request]

jobs:
code-style:
runs-on: ubuntu-latest
steps:
- uses: julia-actions/julia-format@v3
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ local_tests
.DS_Store
.DS_Store
docs/build/**
examples/jdp.mplstyle
.JuliaFormatter.toml
examples/jdp.mplstyle

0 comments on commit ca6a18b

Please sign in to comment.