mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 18:22:39 +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
|