containers / podman-desktop-extension-ai-lab

Work with LLMs on a local environment using containers
https://podman-desktop.io/extensions/ai-lab
Apache License 2.0
182 stars 39 forks source link

setup husky / pre-commit tasks #1633

Closed benoitf closed 3 weeks ago

benoitf commented 2 months ago

Is your feature request related to a problem? Please describe

when contributing a pull request, we may forget to sign the commit (-s option on git), forget to lint, etc so at the end we create a PR and after few minutes it's failing.

Describe the solution you'd like

I would like to enforce the checks before we submit the pull request

so as a contributor I'm aware of the checks as soon as possible

Describe alternatives you've considered

No response

Additional context

it's still possible with git to ignore the pre-commit hooks if for some reason we don't want to apply linter, etc

use this flag

-n  
--no-verify