
Add initial code of skyline-apiserver Change-Id: Ib425960b707237193fd8531fb3989f29282f5b58
38 lines
939 B
INI
38 lines
939 B
INI
[mypy]
|
|
show_error_codes = true
|
|
show_error_context = true
|
|
|
|
; check_untyped_defs = true
|
|
; disallow_incomplete_defs = true
|
|
; disallow_untyped_calls = true
|
|
; disallow_untyped_decorators = true
|
|
; disallow_untyped_defs = true
|
|
; ignore_missing_imports = true
|
|
; incremental = false
|
|
; no_implicit_optional = true
|
|
; pretty = true
|
|
; raise_exceptions = true
|
|
; strict_equality = true
|
|
; warn_incomplete_stub = true
|
|
; warn_redundant_casts = true
|
|
; warn_return_any = true
|
|
; warn_unreachable = true
|
|
; warn_unused_configs = true
|
|
; warn_unused_ignores = true
|
|
; allow_redefinition = true
|
|
; implicit_reexport = true
|
|
|
|
; # NOTE: Maybe need remove
|
|
; disallow_subclassing_any = true
|
|
; disallow_any_decorated = true
|
|
; disallow_any_explicit = false
|
|
; disallow_any_expr = false
|
|
; disallow_any_generics = true
|
|
; disallow_any_unimported = false
|
|
|
|
[pydantic-mypy]
|
|
init_forbid_extra = true
|
|
init_typed = true
|
|
warn_required_dynamic_aliases = true
|
|
warn_untyped_fields = true
|