```py def foo(context: Context) -> None: context.config["some"] = True ``` fails in mypy with ``` x.py:5:30: error: Incompatible types in assignment (expression has type "bool", target has type "str") [assignment] context.config["some"] = True ```
fails in mypy with