julia-vscode / DocumentFormat.jl

Auto-formatter for Julia
Other
62 stars 18 forks source link

Integration with package butler #54

Closed davidanthoff closed 2 years ago

davidanthoff commented 4 years ago

@ZacLN this is more a FYI: I've integrated DocumentFormat into https://github.com/davidanthoff/PkgButlerEngine.jl. So now if a repo has the package butler enabled, two things will happen:

  1. whenever master is not properly formatted according to DocumentFormat.jl, it will open a PR with formatting updates
  2. for PRs it will check whether all code is properly formatted

The main story here is that DocumentFormat.jl will now be used a lot and widely and constantly, no longer just a pretty well hidden feature in VS Code :) It also means we need to be super careful about updates with this package, because as soon as we tag a release, it will go out and run on all the packages that have the pkg butler enabled automatically.