You don't need this. `# pylint: disable` uses the python scope it's declared in (so the one above will only affect this function).