aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Logan <cody@lokken.dev>2023-11-03 09:51:01 -0700
committerCody Logan <cody@lokken.dev>2023-11-03 09:51:01 -0700
commitbc5d19c8150bf7960839243ceeb6f62a9df54e18 (patch)
tree42e4a256866c1f6cf9c7831e388ab7d675b01463
parent420a50672067b1a736a30c2f671fcf43495c4df0 (diff)
downloadwikiget-bc5d19c8150bf7960839243ceeb6f62a9df54e18.tar.gz
wikiget-bc5d19c8150bf7960839243ceeb6f62a9df54e18.zip
Add some mypy configuration
-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",