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