add pre commit hooks for
black .
mypy --strict --exclude venv/ .
FLASK_APP=cre.py FLASK_CONFIG=test flask test | grep -i FAIL # there has to be a better way to ensure tests pass
if [[ $(FLASK_APP=cre.py FLASK_CONFIG=test flask test --coverage | grep TOTAL | awk '{print $6}' | tr -d "%" ) -lt 70 ]] then exit 1 fi # there has to be a better way to ensure coverage
add pre commit hooks for
black .mypy --strict --exclude venv/ .FLASK_APP=cre.py FLASK_CONFIG=test flask test | grep -i FAIL# there has to be a better way to ensure tests passif [[ $(FLASK_APP=cre.py FLASK_CONFIG=test flask test --coverage | grep TOTAL | awk '{print $6}' | tr -d "%" ) -lt 70 ]] then exit 1 fi# there has to be a better way to ensure coverage