]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
:wrench: Move all mypy configurations to configuration file (#987)
authorTaneli Hukkinen <hukkinj1@users.noreply.github.com>
Thu, 27 Feb 2020 20:03:03 +0000 (21:03 +0100)
committerGitHub <noreply@github.com>
Thu, 27 Feb 2020 20:03:03 +0000 (21:03 +0100)
mypy.ini
scripts/lint.sh

index 976ba0294638950e865be3934cbeee3b6305ffd6..4ff4483ab48c7c6ee607b8350593ac14d2ebbd98 100644 (file)
--- a/mypy.ini
+++ b/mypy.ini
@@ -1,2 +1,3 @@
 [mypy]
+disallow_untyped_defs = True
 ignore_missing_imports = True
index 11b59f2b9c175eee20d96b9a75bd660651b79ee4..6472f18454adc3f86d8dc6bb7baccc7e2b78d69c 100755 (executable)
@@ -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