Files
jedi/pyproject.toml
2026-02-10 19:38:55 +01:00

19 lines
521 B
TOML

[tool.zuban]
# Exclude our copies of external stubs
exclude = "^jedi/third_party|^test/(completion|refactor|static_analysis|examples)/"
show_error_codes = true
enable_error_code = "ignore-without-code"
# Ensure generics are explicit about what they are (e.g: `List[str]` rather than
# just `List`)
disallow_any_generics = true
disallow_subclassing_any = true
# Avoid creating future gotchas emerging from bad typing
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
strict_equality = true