Change a few small typing related things

This commit is contained in:
Dave Halter
2026-02-04 16:05:26 +01:00
parent 07fb4584a3
commit 22da0526b3
4 changed files with 20 additions and 6 deletions

14
pyproject.toml Normal file
View File

@@ -0,0 +1,14 @@
[tool.zuban]
enable_error_code = ["ignore-without-code"]
disallow_subclassing_any = true
# Avoid creating future gotchas emerging from bad typing
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
warn_unreachable = true
strict_equality = true
implicit_optional = true
exclude = "^test/normalizer_issue_files"