Codeshares make sense for a lot of airlines. If you've a lot of high yielding pax up front paying for a premium service you might as well get £50 for seats which would otherwise be going empty.
Whether a codeshare would be appropriate for the current Flybe at this moment in time is up for debate.