Was trying to figure this out. It would be easier to build some part of armature as separate piece, then scale it, and then join several armatures together.
However, I haven’t yet found a way to join armatures, and I don’t seem to get any hits with google.
This answer saved my soul. I was trying to figure out why I get message that active object is not selected. Those extra values “object” and “selected_editable_objects” are needed for script to work.