(A) It is unlawful for any person to make any excavation or dig any hole, drain or ditch in any highway or thoroughfare in the town without providing a sufficient light at night and a temporary fence or suitable obstruction around or in front of the excavation during the day.
(B) It is unlawful for any person to maintain a well, cellar, pit or other excavation of more than two feet in depth on any unenclosed lot, without substantial curbing, covering or protection.
(`82 Code, § 10-1-4) Penalty, see § 130.99