2021-10-17 15:30:18 +00:00
|
|
|
[tool.mypy]
|
|
|
|
|
|
|
|
namespace_packages = true
|
|
|
|
plugins = [ "mypy_zope:plugin" ]
|
|
|
|
|
|
|
|
ignore_missing_imports = true
|
|
|
|
warn_unused_configs = true
|
|
|
|
no_implicit_optional = true
|
|
|
|
show_column_numbers = true
|
|
|
|
show_error_codes = true
|
|
|
|
strict_optional = true
|
|
|
|
warn_no_return = true
|
|
|
|
warn_redundant_casts = true
|
|
|
|
warn_return_any = true
|
|
|
|
warn_unreachable = true
|
|
|
|
disallow_incomplete_defs = true
|
|
|
|
disallow_any_unimported = true
|
|
|
|
strict_equality = true
|
|
|
|
disallow_untyped_decorators = true
|
|
|
|
disallow_subclassing_any = true
|
2022-12-15 03:46:15 +00:00
|
|
|
warn_unused_ignores = true
|
|
|
|
|
|
|
|
# Getting these passing should be easy
|
|
|
|
strict_concatenate = true
|
2021-10-17 15:30:18 +00:00
|
|
|
|
|
|
|
# These are too strict for us at the moment
|
|
|
|
|
|
|
|
check_untyped_defs = false
|
|
|
|
disallow_untyped_defs = false
|
|
|
|
disallow_any_decorated = false
|
|
|
|
disallow_any_explicit = false
|
|
|
|
disallow_any_expr = false
|
|
|
|
disallow_any_generics = false
|
|
|
|
disallow_untyped_calls = false
|
2022-12-15 03:46:15 +00:00
|
|
|
|
|
|
|
[tool.pylint."MESSAGES CONTROL"]
|
|
|
|
disable = [ "R0912", "C0103", "C0114", "C0115", "C0116", "C0301" ]
|