(A) It shall be the duty of every person making any excavation in any public street, alley or other public place to maintain safe crossings for vehicular traffic at all street intersections and safe crossings for pedestrians at intervals of not more than 300 feet. If any such excavation is made across any public street or alley, at least one safe crossing shall be maintained at all times for vehicles and pedestrians. Free access must be provided to all fire hydrants. All excavated material shall be laid compactly along the side of the trench and kept trimmed so as to cause as little inconvenience as possible to the public traffic. All gutters shall be maintained free and unobstructed for the further depth of the adjacent curb and for at least one foot in width from the face of such curb at the gutter line. Whenever a gutter crosses an intersecting street an adequate waterway shall be provided and at all times maintained.
(B) It shall also be the duty of every person making any excavation in any public street, alley or other public place to place and maintain barriers at each end of such excavation and at such places as may be necessary along the excavation to prevent accidents, and also to place and maintain lights at each end of such excavation and at distances of not more than 100 feet along the line thereof, from sunset each day to sunrise of the next day, until such excavation is entirely refilled; and it shall be unlawful for any person to fail, refuse, or neglect to comply with any requirement contained in this section.
(`83 Code, § 12.08.060)