summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-12-23 17:44:08 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-12-23 23:15:21 +0100
commit15b9a844919d51f6f7afeddca453252191a8af7d (patch)
treef117ac36a3374f75888227dea23d303baf5034de
parent96eaa6555ae44e30b3784576a6ecd0941523691f (diff)
Add script to run static type checking
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rwxr-xr-xrun-mypy.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/run-mypy.sh b/run-mypy.sh
new file mode 100755
index 0000000..6384a00
--- /dev/null
+++ b/run-mypy.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+options=(--check-untyped-defs)
+
+python3 -m mypy swiftstory "${options[@]}"