From: Taneli Hukkinen Date: Thu, 27 Feb 2020 20:03:03 +0000 (+0100) Subject: :wrench: Move all mypy configurations to configuration file (#987) X-Git-Tag: 0.49.1~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1da8d3f1e695c5b34d2e8ea7aba61b4aaed00d23;p=thirdparty%2Ffastapi%2Ffastapi.git :wrench: Move all mypy configurations to configuration file (#987) --- diff --git a/mypy.ini b/mypy.ini index 976ba02946..4ff4483ab4 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 11b59f2b9c..6472f18454 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