From 95ca11e98c47c3e8e57093c37134a6f51bcb6f30 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 29 Dec 2021 17:05:21 +0100 Subject: Add type hinting everywhere so we can enable strict mypy options Signed-off-by: Olivier Gayot --- run-mypy.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'run-mypy.sh') 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[@]}" -- cgit v1.2.3