summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
Commit message (Collapse)AuthorAgeFilesLines
* pre-commit: Allow unsafe YAMLStephen Finucane2022-07-041-0/+1
| | | | | | | | | | We're using tags in '.zuul.yaml', which requires use of the unsafe parser [1]. [1] https://stackoverflow.com/a/45967047 Change-Id: Ib97480f6fcaba7406ffe284e1935744346684b8b Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Add pre-commitStephen Finucane2021-03-111-0/+29
This is helpful to automate code style checks at runtime. We include documentation on how to run this as well as a general overview of style guidelines in OSC. Change-Id: I2dc5a0f760ce53269ae25677560b2611cc6bfd91 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>