chore: add gitpod pre-commit task

This commit is contained in:
jo 2022-11-19 17:46:48 +01:00 committed by Marge Me
commit 070a039c53
2 changed files with 3 additions and 2 deletions

View file

@ -46,8 +46,9 @@ tasks:
ENV_FILE: /workspace/funkwhale/.gitpod/.env
VUE_EDITOR: code
DJANGO_SETTINGS_MODULE: config.settings.local
init: pre-commit install
command: |
clear
pre-commit run --all && clear
echo ""
echo -e " ⠀⠀⠸⣿⣷⣦⣄⣠⣶⣾⣿⠇⠀⠀ You can now start developing Funkwhale with gitpod!"
echo -e " ⠀⠀⠀⠈⠉⠻⣿⣿⠟⠉⠁⠀⠀⠀"