yubioath-flutter/run-mypy.sh
2023-11-30 14:32:53 +01:00

14 lines
189 B
Bash
Executable File

#!/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