From: Michael Oliver Date: Mon, 23 Oct 2023 15:16:17 +0000 (+0100) Subject: 🔧 Update mypy config, use `strict = true` instead of manual configs (#428) X-Git-Tag: 0.0.9~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1062e1b4853484d1653115e3517fb1cfa482416b;p=thirdparty%2Ffastapi%2Fsqlmodel.git 🔧 Update mypy config, use `strict = true` instead of manual configs (#428) Co-authored-by: Sebastián Ramírez --- diff --git a/pyproject.toml b/pyproject.toml index 57426b5d..c7956daa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,21 +73,7 @@ exclude_lines = [ ] [tool.mypy] -# --strict -disallow_any_generics = true -disallow_subclassing_any = true -disallow_untyped_calls = true -disallow_untyped_defs = true -disallow_incomplete_defs = true -check_untyped_defs = true -disallow_untyped_decorators = true -no_implicit_optional = true -warn_redundant_casts = true -warn_unused_ignores = true -warn_return_any = true -implicit_reexport = false -strict_equality = true -# --strict end +strict = true [[tool.mypy.overrides]] module = "sqlmodel.sql.expression"