Local Muckenhoupt class for variable exponents