8d8c8bd89f
1. Add make clean 2. Specify configuration file used by mypy 3. Add some directories to dockerignore Change-Id: I4f6b0d5ba894214bb0fcff21443f9808f56d595e
40 lines
981 B
INI
40 lines
981 B
INI
[mypy]
|
|
incremental = false
|
|
cache_dir = /dev/null
|
|
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
|