Improved existing class methods to actually use the cls parameter instead of the class name. I also changed some class methods to static methods, mainly those that don't use the cls parameter at all or where it makes more sense for it to be static instead (e.g. returning something different than a class instance). For some static methods, I explicitly used the class name assuming it's never subclassed, but that change was pretty subjective so I can revert it if needed.
Improved existing class methods to actually use the
cls
parameter instead of the class name. I also changed some class methods to static methods, mainly those that don't use thecls
parameter at all or where it makes more sense for it to be static instead (e.g. returning something different than a class instance). For some static methods, I explicitly used the class name assuming it's never subclassed, but that change was pretty subjective so I can revert it if needed.