Pre-commit hooks? #2801
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm looking into using cue for validating yamls at work. Our codebases are mostly in Python and managed by poetry and we use pre-commit heavily.
Is there a trivial way to use cue in a pre-commit hook? It is possible to install cue locally and have a pre-commit hook that calls cue but because it is a new undertaking, I can't expect my colleagues to have cue installed on their local machines. Furthermore, I would also need to separately install cue in our CI/CD environments.
I would much rather have a pre-commit hook for this specific purpose.
If this is something that doesn't exist but would be nice to have, I would love to take this up as a weekend project.
Beta Was this translation helpful? Give feedback.
All reactions