-
Notifications
You must be signed in to change notification settings - Fork 211
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
Configure and run taplo
in CI for formatting .toml
#646
Comments
I haven't heard of it but sounds good. I'd recommend uvx since it's for python. |
Great, that sounds like something I can take a stab at @domoritz would it be worth opening a separate issue for a I've been using one locally for Local
|
Originally posted by @dangotbanned in #643 (comment)
I should've explained this better in the description for (1ea2812)
That commit uses automatic formatting via
taplo
.The two non-default configuration options applied were:
align_entries=true
allowed_blank_lines=1
taplo
can be used via its CLI and as a VSCode extension (Even Better TOML)I haven't used it in CI before, but it is available on
PyPI
- so we could run it withuvx
?https://github.com/tamasfe/taplo/blob/a8bc571ee28775e7d5ad84c2ea87cf5b61ab42f5/.github/workflows/releases.yaml#L503-L504
NPM is another option for install
@domoritz
The text was updated successfully, but these errors were encountered: