Pirate Pete is a scrapped character from Epic Mickey 2: The Power of Two.
The only remnants of this character can be found in an early test level, where another Pete asks Mickey Mouse to locate Pirate Pete for him. Pirate Pete was likely going to be part of a whole Pirates of the Caribbean subplot for Epic Mickey 2 that would have involved a pirate war between the forces of Blackbeard and those of Hook, in the middle of which Mickey and Oswald were going to be caught; other remnants of this subplot are left in some of Smee's dialogue about the pirates having been led elsewhere by the unseen Blackbeard.
A concept-art showing Pirate Pete leading a gang of pirates (both cyborg and normal ones) circling around Mickey and Oswald, with the two heroes keeping a huge treasure. Pirate Pete is depicted as wearing a large hat similar to Hook's and a XVIIIth century pirate costume. It is likely that, unlike Pete Pan, Pirate Pete would have been a villainous antagonist, probably working for whichever pirate captain Mickey and Oswald were going to be enemies with (most probably Blackbeard, but given Captain Hook's antagonistic behavior in the first game, both remain possible).
The whole Ventureland subplot and level were cut mostly for time restrictions like many ideas and elements that were planned for Epic Mickey 2: The Power of Two.