Code violations exist and is the responsibility of the buyer to bring them up to date including permits and fees.