Closed carlthome closed 10 months ago
Minor polish but self is reserved for the instance, so classmethods should not take in self but rather cls like in:
self
cls
https://github.com/urinieto/msaf/blob/7fcedb4e80b000cc60818caf54f0ba9abe3de3f5/msaf/base.py#L453
Stems out of seeing warnings from the Python extension in VS Code.
lgtm, thanks!
Minor polish but
self
is reserved for the instance, so classmethods should not take inself
but rathercls
like in:https://github.com/urinieto/msaf/blob/7fcedb4e80b000cc60818caf54f0ba9abe3de3f5/msaf/base.py#L453
Stems out of seeing warnings from the Python extension in VS Code.