From ed8a2b2cad95f62c1029bb4d7de7e985f0558963 Mon Sep 17 00:00:00 2001 From: Aryan Kothari <87589047+thearyadev@users.noreply.github.com> Date: Wed, 18 Oct 2023 11:56:07 -0400 Subject: [PATCH] Mypy Configs (#40) * add mypy config to pyproject.toml * remove old shell script --- mypy-t.sh | 1 - pyproject.toml | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) delete mode 100755 mypy-t.sh diff --git a/mypy-t.sh b/mypy-t.sh deleted file mode 100755 index 818dea35..00000000 --- a/mypy-t.sh +++ /dev/null @@ -1 +0,0 @@ -mypy --check-untyped-defs --exclude=models --exclude=utils . \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 4ba74160..ee241e28 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,3 +40,9 @@ mysql-connector-python = "^8.1.0" jinja2 = "^3.1.2" fastapi = "0.101.1" +[tool.mypy] +check_untyped_defs = true +exclude = [ + "utils", + "models" +] \ No newline at end of file