Inflation bucked its runaway trend in July, becoming the third data point this month after remittance and import to provide some relief to a government on its toes about the direction the economy was taking.