bugbear21.4.3

B903 Data class should either be immutable or use __slots__ to save memory

Data class should either be immutable or use slots to save memory. Use collections.namedtuple to generate an immutable class, or enumerate the attributes in a slot declaration in the class to leave attributes mutable.