Any officer, agent, or representative of the State or of any political subdivision who wilfully violates any provision of this article, and any contractor, or subcontractor, or agent or representative thereof, doing public work who neglects to comply with any provision of section 1776 is guilty of a misdemeanor.