mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-25 03:03:50 +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
|