Skip to main content

Simplify my config for mypy

ID
4e83353
date
2024-07-12 09:15:59+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
1ba7024
message
Simplify my config for `mypy`

For alexwlchan/alexwlchan#15
changed files
1 file, 1 addition, 15 deletions

Changed files

pyproject.toml (497) → pyproject.toml (90)

diff --git a/pyproject.toml b/pyproject.toml
index 38d30dd..a37f4fe 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,18 +4,4 @@ version = "1.0"
 
 [tool.mypy]
 mypy_path = "src"
-check_untyped_defs = true
-disallow_any_generics = true
-disallow_incomplete_defs = true
-disallow_subclassing_any = true
-disallow_untyped_calls = true
-disallow_untyped_decorators = true
-disallow_untyped_defs = true
-no_implicit_optional = true
-no_implicit_reexport = true
-show_error_codes = true
-strict_equality = true
-warn_redundant_casts = true
-warn_return_any = true
-warn_unused_configs = true
-warn_unused_ignores = true
+strict = true