Earlier quoted context omitted.
Exactly, I want it to complain if I try to manipulate the fields/methods of an unknown object.
By default, Mypy warns you if try to reassign a method of any object[1]. It will also warn you when you access non-existent attributes[2]. So if you have a variable typed as `object`, the only attributes you can manipulate without the type checker nagging are `__doc__`, `__dict__`, `__module__`, and `__annotations__`. Since there are very few reasons to ever reassign or manipulate these attributes on an instance, I t…
Thanks, I didn't have this context. I'll start using this!