5 ms·
There already is strictyaml: https://github.com/crdoconnor/strictyaml https://github.com/crdoconnor/strictyaml
by zufallsheld 3y ago
There already is strictyaml: https://github.com/crdoconnor/strictyaml https://github.com/crdoconnor/strictyaml
- oblio 3y agoCool, get back to me in 2040 when it's adopted by Ansible, Github Actions, Bitbucket, Kubernets & its menagerie :-p
- hahn-kev 3y agoThere's no reason you and your team couldn't choose to use it today no?
- verdverm 3y agoAre there packages for language X? How would you enforce it?
- mminer237 3y agoLooks like just Python at the moment. But you could enforce it with a pre-commit hook.
- verdverm 3y agoBut then I also have to make sure python and the dependencies are available in all the places. Not an ideal situation for git hooks. What do you do when you bump the version in one branch and then switch branches?