Violations of any provisions of this article shall be punished in the same manner as provided for punishment of violations of other validly enacted ordinances of the city.