-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
LGTM complains about Call to a non-callable of class CLS.
In my case, CLS refers to the class and the call should thus create a new instance. I guess the problem in my case is that I needed to add an additional decorator besides the @classmethod to mark the method as a classmethod; see code: