It seems like the GitHub access token used for retrieving details about this repository from
GitHub became invalid. This might prevent certain types of inspections from being run (in
particular,
everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
It seems like _logger was declared protected and should not be accessed from this context.
Prefixing a member variable _ is usually regarded as the equivalent of
declaring it with protected visibility that exists in other languages.
Consequentially, such a member should only be accessed from the same class or
a child class:
classMyParent:def__init__(self):self._x=1;self.y=2;classMyChild(MyParent):defsome_method(self):returnself._x# Ok, since accessed from a child classclassAnotherClass:defsome_method(self,instance_of_my_child):returninstance_of_my_child._x# Would be flagged as AnotherClass is not# a child class of MyParent
This method could be written as a function/class method.
If a method does not access any attributes of the class, it could also be
implemented as a function or static method. This can help improve readability.
For example
This check looks for calls to members that are non-existent. These calls will fail.
The member could have been renamed or removed.