Deep-Package-Detection / docker /pre_commit_init.sh
afshin-dini's picture
Initialize the project
062a131
raw
history blame contribute delete
190 Bytes
#!/bin/bash -l
if [ ! -d .git ]
then
git init
git checkout -b precommit_init
git add .
fi
set -e
poetry run pre-commit install
SKIP="poetry-lock" poetry run pre-commit run --all-files