Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test if Format.yml works in a PR from fork #107

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .JuliaFormetter.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
style = "blue"
8 changes: 8 additions & 0 deletions .github/workflows/Format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Format suggestions
on:
pull_request:
jobs:
code-style:
runs-on: ubuntu-latest
steps:
- uses: julia-actions/julia-format@v2
2 changes: 1 addition & 1 deletion src/obj.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"""
loadobj(shapepath::String; scale=1, message=true) -> nodes, faces
"""
function loadobj(shapepath::String; scale=1, static=true, message=true)

Check warning on line 12 in src/obj.jl

View workflow job for this annotation

GitHub Actions / code-style

[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/obj.jl:12:-function loadobj(shapepath::String; scale=1, static=true, message=true) src/obj.jl:12:+function loadobj(shapepath::String; scale = 1, static = true, message = true)

nodes = SVector{3, Float64}[]
nodes = SVector{3, Float64}[]

Check warning on line 14 in src/obj.jl

View workflow job for this annotation

GitHub Actions / code-style

[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/obj.jl:14:- nodes = SVector{3, Float64}[] src/obj.jl:15:- faces = SVector{3, Int64}[] src/obj.jl:14:+ nodes = SVector{3,Float64}[] src/obj.jl:15:+ faces = SVector{3,Int64}[]
faces = SVector{3, Int64}[]

open(shapepath, "r") do f
Expand Down
Loading