File size: 190 Bytes
36ccd32
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
#!/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