aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 0ab61b7..36a90ae 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -185,6 +185,15 @@ exclude_lines = [
"if TYPE_CHECKING:",
]
+[tool.mypy]
+python_version = "3.7"
+warn_unused_configs = true
+warn_redundant_casts = true
+warn_unused_ignores = true
+strict_equality = true
+check_untyped_defs = true
+extra_checks = true
+
[[tool.mypy.overrides]]
module = [
"mwclient",