Any person who shall violate any of the provisions of the building, electrical, plumbing or mechanical codes or fail to comply therewith, or who shall violate or fail to comply with any other provision of this article shall, for each such failure or violation or noncompliance, be punished or fined in the magistrate court of the county in an amount not to exceed $1,000.00 or one year in jail.