Why do you have to disable this? This is another pylint that I think it's better to address rather than just ignore. Plus doing this disable at this level disables it for the remainder of this function.