This rule raises an issue when an item or attribute is assigned on an object whose type resolves to an immutable frozendict.
A frozendict is immutable. Its items cannot change after it is created. Assigning an item or attribute to it will fail at runtime or
does not represent a valid update to the mapping.
The assignment can raise an exception at runtime and prevent the application from completing the intended operation.
Do not modify the immutable mapping. Read the existing value, or create a new mapping that contains the required change.
data: frozendict data["key"] = "value" # Noncompliant
data: frozendict
value = data["key"]
updated_data = frozendict({**data, "key": "value"})