France and Italy are signatories of the Schengen Agreement. Among other things, that means you go through immigration and customs once. You will go through immigration in Paris, but not in Florence. You will go through customs in Florence, but not in Paris.