diff options
| author | Cody Logan <cody@lokken.dev> | 2023-11-03 09:51:01 -0700 |
|---|---|---|
| committer | Cody Logan <cody@lokken.dev> | 2023-11-03 09:51:01 -0700 |
| commit | bc5d19c8150bf7960839243ceeb6f62a9df54e18 (patch) | |
| tree | 42e4a256866c1f6cf9c7831e388ab7d675b01463 /pyproject.toml | |
| parent | 420a50672067b1a736a30c2f671fcf43495c4df0 (diff) | |
| download | wikiget-bc5d19c8150bf7960839243ceeb6f62a9df54e18.tar.gz wikiget-bc5d19c8150bf7960839243ceeb6f62a9df54e18.zip | |
Add some mypy configuration
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 9 |
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", |
