Move pylint directive inside of class to narrow the scope.