From 1da8d3f1e695c5b34d2e8ea7aba61b4aaed00d23 Mon Sep 17 00:00:00 2001 From: Taneli Hukkinen Date: Thu, 27 Feb 2020 21:03:03 +0100 Subject: [PATCH] :wrench: Move all mypy configurations to configuration file (#987) --- mypy.ini | 1 + scripts/lint.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mypy.ini b/mypy.ini index 976ba0294..4ff4483ab 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,2 +1,3 @@ [mypy] +disallow_untyped_defs = True ignore_missing_imports = True diff --git a/scripts/lint.sh b/scripts/lint.sh index 11b59f2b9..6472f1845 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -3,6 +3,6 @@ set -e set -x -mypy fastapi --disallow-untyped-defs +mypy fastapi black fastapi tests --check isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --check-only --thirdparty fastapi fastapi tests