Skip to content
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

Add yamlfmt #341

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

bryanhonof
Copy link

Add support for yamlfmt.
I mostly copy/pasted from yamllint.
So, it might be incomplete, but it seems to be doing what I expect it to do.

@domenkozar
Copy link
Member

You you rebase?

@domenkozar
Copy link
Member

ping

@domenkozar
Copy link
Member

error: builder for '/nix/store/z81000y8iafhgyq3d0z4cgafckmi64sq-pre-commit-hook-ensure-sops-1.1.drv' failed with exit code 1;
       last 10 log lines:
       > wrapping `/nix/store/g00s2qmmmwq4ha7w01qsfangnv6cj539-pre-commit-hook-ensure-sops-1.1/bin/pre-commit-hook-ensure-sops'...
       > Executing pythonRemoveTestsDir
       > Finished executing pythonRemoveTestsDir
       > running install tests
       > Traceback (most recent call last):
       >   File "/nix/store/g00s2qmmmwq4ha7w01qsfangnv6cj539-pre-commit-hook-ensure-sops-1.1/bin/.pre-commit-hook-ensure-sops-wrapped", line 6, in <module>
       >     from pre_commit_hook_ensure_sops.__main__ import main
       >   File "/nix/store/g00s2qmmmwq4ha7w01qsfangnv6cj539-pre-commit-hook-ensure-sops-1.1/lib/python3.10/site-packages/pre_commit_hook_ensure_sops/__main__.py", line 7, in <module>
       >     from ruamel.yaml import YAML
       > ModuleNotFoundError: No module named 'ruamel.yaml'
       For full logs, run 'nix log /nix/store/z81000y8iafhgyq3d0z4cgafckmi64sq-pre-commit-hook-ensure-sops-1.1.drv'.

@bryanhonof
Copy link
Author

Tried fixing it locally, but then I started to run into some weird errors with OCaml and macOS codesign.
Shelving this for now.

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.

None yet

2 participants