Buy a code reader. $15. And then you reset the codes right before inspection. Problem solved.
Yeah. I would if I still lived in Seattle. :)
No need here...
Be careful with this. When you reset the Check Engine Light (CEL), there are internal monitors which also reset. They may have to return a status code of READY for an inspection to pass (true in Texas). So after resetting the CEL, you may have to drive for 20-30 miles (complete a drive cycle) to get the monitors to a state where their value is acceptable.