fixed "Using global for 'CANVAS' but no assignment is done"
pylint
pylint
pylint, but why not just do
def __getattr__(self, *args, **kwargs):
	_ = args, kwargs
        return QgisInterface(self.canvas)