Same as what the others said: in France, non-French EU citizens can vote for EU parliament and municipal elections (electing a mayor). However, you need French citizenship in order to vote for your parliamentary representative (which could be misunderstood as "local" as it is on a district level), and for presidential elections.
I'm actually curious to know why local elections specifically, if it's an EU directive or just "common" ?
https://knowyourmeme.com/memes/it-just-works and for your listening pleasure: https://m.soundcloud.com/the-chalkeaters/it-just-works