I would not think this is a code violation. Perhaps if the fence was deteriorated to the point of being unsafe, then I could see that as a violation. Maybe they replaced the pickets with the intent to paint them and have not had time yet. At least they replaced pickets, I presume, so the fence is stable. Maybe you could extend a neighborly hand and offer to help them paint!