Two-and-a-half months after an inconclusive election, France has finally formed a government.