1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
[mypy]
; Ensures correct typing information inside non-typed functions
check_untyped_defs = True
; Strict checking for None
no_implicit_optional = True
; Disallow none and partial generics
disallow_any_generics = True
; Point out pointless things
warn_redundant_casts = True
warn_unused_ignores = True
; Misc
show_error_codes = True
; These are needed for VSCode
; Silences errors about missing imports
; (type-checks correctly when they're not missing tho)
ignore_missing_imports = True
; Needed to position the underline correctly
show_column_numbers = True
|