seCureLI is a tool that enables you to experience the delight of building products by helping you get ideas from your head into working software as frictionlessly as possible, in a reliable, secure, scalable, and observable way.
Apache License 2.0
29
stars
3
forks
source link
Feat: secureli 372 fix init when no pre-commit-config exists #502
secureli-XXX
in a final check on recent work, I noticed that init was failing if there was no .pre-commit-config.yaml. This should fix that issue, maintain new functionality for copying existing yaml settings, and update tests.
Changes
Updated action, language_support, and pre_commit to account for a lack of a .pre-commit-config.yaml by creating blank one if it doesn't exist. If it does exist and isn't where we want it, we move it.
Testing
all tests pass
in a dummy repo, run secureli init with a .pre-commit-config.yaml in the root directory
in a dummy repo, run secureli init without a .pre-commit-config.yaml in the root directory
secureli-XXX in a final check on recent work, I noticed that init was failing if there was no .pre-commit-config.yaml. This should fix that issue, maintain new functionality for copying existing yaml settings, and update tests.
Changes
Testing
Clean Code Checklist