In this June 14 file photo, a pair of shoppers survey a T-shirt display in the Levi's store in New York's Times Square. This morning, the Labor Department reported that U.S. consumer prices rose 0.3 percent in July. (AP Photo/Richard Drew, File)

The consumer price index increased 1.8 percent compared with a year earlier, up from 1.6 percent in June, the Labor Department said this morning. Excluding the volatile food and energy categories, core prices moved up 0.3 percent in July and 2.2 percent from a year ago.

The figures suggest that inflation is picking up slightly, though it remains modest. The economy is in its 11th year of growth, unemployment is low, and wages are growing modestly. These are trends that typically accelerate price gains. But many companies are reluctant to charge more in the face of online and global competition.

Rents rose 0.3 percent and are up 3.5 percent in the past year. Hotel stays have gotten 4.6 percent more expensive in the past year.

There are some signs higher wages may be having an effect. The cost of housing operations, such as cleaning, landscaping and moving, jumped 5.4 percent in the past year.

The Federal Reserve maintains a 2 percent inflation target to avoid the destabilizing effect of deflation, which can pull down prices and wages. It has mostly missed that target since it was established in 2012. Its preferred measure rose just 1.4 percent percent in June compared with a year earlier. That measure isn’t as influenced by rental prices.

Fed Chairman Jerome Powell has cited tame inflation as a key reason the central bank cut short-term interest rates last month. Most economists expect further cuts this year to offset the negative impact of the Trump administration’s trade war with China.

Gas prices jumped 2.5 percent in July, though they have already fallen back and will likely keep doing so since oil prices are declining. The average price for a gallon of gas was $2.64 this morning, down 15 cents from a month earlier.

One restraint on inflation last month was food prices, which were unchanged. Dairy prices fell in July while fruit and vegetable costs rose.