mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 08:22:16 +03:00
14 lines
189 B
Bash
14 lines
189 B
Bash
|
#!/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
|