October's annual inflation rate ticked up for the first time in seven months, after more than two years of gradual cooling.