diff --git a/pyproject.toml b/pyproject.toml index c5ef987..6609e7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,6 +73,11 @@ source = [ show_missing = true [tool.mypy] +enable_error_code = [ + "ignore-without-code", + "redundant-expr", + "truthy-bool", +] check_untyped_defs = true disallow_any_generics = true disallow_incomplete_defs = true @@ -80,7 +85,6 @@ disallow_untyped_defs = true mypy_path = "src/" namespace_packages = false no_implicit_optional = true -show_error_codes = true warn_unreachable = true warn_unused_ignores = true