Skip to content

1303.feature: add yamlfmt in pre-commit - #1303

Closed
even-even wants to merge 1 commit into
pytest-dev:masterfrom
even-even:add_yamlfmt_precommit
Closed

even-even wants to merge 1 commit into
pytest-dev:masterfrom
even-even:add_yamlfmt_precommit

Conversation

@even-even

Copy link
Copy Markdown

Hello.

In this PR:

  1. add https://github.com/google/yamlfmt for formatting .yaml files
  2. formatting .yaml files after run pre-commit

@webknjaz webknjaz left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can it be configured to retain current format? Overly indented stuff takes up too much space. I've found that only yamllint is capable of enforcing good style.

@RonnyPfannschmidt

Copy link
Copy Markdown
Member

closing due to lack of feedback and drift, happy to review something that better manages indentation

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.

3 participants