yubioath-flutter/run-mypy.sh

14 lines
189 B
Bash
Raw Permalink Normal View History

2023-11-30 16:20:23 +03:00
#!/bin/sh
# Runs mypy from poetry in the helper directory.
set -e
cd helper
if [ "$(poetry env list)" = "" ]; then
echo "Initializing poetry env..."
poetry install
fi
poetry run mypy