Inflation data in line with expectations at 3.1% year-over-year