You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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