More relaxed require-subclass
option
#59
Labels
enhancement
New feature or request
needs refinement
This issue needs refinement before work can start
Currently slotscheck has the
require-subclass
option, which enforces the use of__slots__
wherever slotted classes are subclassed. However, this greatly depends on whether builtin/extension classes are considered "slotted". For example,object
has no__dict__
. Flagging all directobject
subclasses would essentially require slots for all classes in a module (that don't subclass from a non-slot class outside the module).The text was updated successfully, but these errors were encountered: