summaryrefslogtreecommitdiff
path: root/run-mypy.sh
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-12-29 17:05:21 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-12-29 17:06:29 +0100
commit95ca11e98c47c3e8e57093c37134a6f51bcb6f30 (patch)
tree4c10504aee30dab96e6d5836f0f35f9d6a6a9810 /run-mypy.sh
parent8d242a5e6c090ee8165b36fea6520d533269518e (diff)
Add type hinting everywhere so we can enable strict mypy options
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'run-mypy.sh')
-rwxr-xr-xrun-mypy.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/run-mypy.sh b/run-mypy.sh
index 6384a00..04a5135 100755
--- a/run-mypy.sh
+++ b/run-mypy.sh
@@ -1,5 +1,11 @@
#!/bin/bash
-options=(--check-untyped-defs)
+options=(
+ --check-untyped-defs
+ --disallow-untyped-calls
+ --disallow-untyped-defs
+ --disallow-incomplete-defs
+ --disallow-untyped-decorators
+)
python3 -m mypy swiftstory "${options[@]}"