Skip to content

Add auto format for sh,toml,yaml - #482

Merged
torcolvin merged 1 commit into
mainfrom
non-py-foramt
Aug 14, 2026
Merged

torcolvin merged 1 commit into
mainfrom
non-py-foramt

Conversation

@torcolvin

@torcolvin torcolvin commented Aug 14, 2026 •

Copy link
Copy Markdown
Collaborator

Add auto format for sh,toml,yaml

  • Add pre-commit to github workflows and remove custom verification to hit all files

  • shfmt uses .editorconfig

  • taplo (toml) uses .taplo.toml

  • yamlfmt uses .yamlfmt.yml

The config files mean this is picked up by editors, and pre-commit will enforce the formatting for CI and users that use pre-commit.

Format syntax used from sync gateway repo, then just ran pre-commit on top of the code.

- Add pre-commit to github workflows and remove custom verification to hit all files

- shfmt uses .editorconfig
- taplo (toml) uses .taplo.toml
- yamlfmt uses .yamlfmt.yml

The config files mean this is picked up by editors, and pre-commit will
enforce the formatting for CI and users that use pre-commit.
@github-actions

Copy link
Copy Markdown

Redocly preview

API

@torcolvin
torcolvin merged commit 27696b0 into main Aug 14, 2026
6 checks passed
@torcolvin
torcolvin deleted the non-py-foramt branch August 14, 2026 18:03
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.

2 participants