Skip to content

Apply JuliaFormatter with BlueStyle and add it to tests#327

Merged
gdalle merged 4 commits into
JuliaCI:masterfrom
gdalle:juliaformatter
Aug 6, 2023
Merged

Apply JuliaFormatter with BlueStyle and add it to tests#327
gdalle merged 4 commits into
JuliaCI:masterfrom
gdalle:juliaformatter

Conversation

@gdalle

@gdalle gdalle commented Aug 1, 2023

Copy link
Copy Markdown
Collaborator

Other prominent JuliaCI repos like PkgTemplates.jl already use the BlueStyle. This PR does the same for BenchmarkTools.jl. More precisely, it

  • sets up JuliaFormatter to use BlueStyle on this repo with the .JuliaFormatter.toml file
  • applies automatic formatting to the existing code (mostly spacing modifications, all in the second commit)
  • adds a test checking that formatting is correct in test/runtests.jl, along with a test-specific dependency in Project.toml
  • adds a BlueStyle badge to README.md

@gdalle

gdalle commented Aug 1, 2023

Copy link
Copy Markdown
Collaborator Author

Fails because of JuliaEditorSupport/JuliaFormatter.jl#746

@gdalle gdalle merged commit 088df33 into JuliaCI:master Aug 6, 2023
@gdalle gdalle deleted the juliaformatter branch August 6, 2023 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant