mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-17 07:24:24 +08:00
Change a few small typing related things
This commit is contained in:
14
pyproject.toml
Normal file
14
pyproject.toml
Normal 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"
|
||||
Reference in New Issue
Block a user