I think it "depends". I doubt many areas have any type of an ordinance on the books preventing you from repairing your own car or a friend/family member's car on your property. Where you might get into an issue is if this is a regular thing with many different vehicles, it would be difficult to prove you aren't running a car repair business from your home.
I doubt you'd ever hear anything about it unless you tick a neighbor off and they report you.
Surprisingly, most of the cities around me have a very defined criteria on acceptable practices for vehicle repair. My city does not. For example:
"
8.25.500 Restrictions; prohibited repairs.
(a) Purpose and intent. The City Council finds that the repair and/or dismantling of vehicles in public view in residential districts has a negative impact on the liveability and appearance of the city, on the availability of driveways for parking, and on property values, and can pose safety and/or health hazards to children and adults. The City Council determines that the public health, safety, and welfare require the prohibition of the repairing or dismantling of vehicles in public view in residential areas, except under certain circumstances.
(b) Definitions. For the purposes of this section, the following words shall have the meaning set forth herein:
Immediate family. Immediate family shall consist of parents, grandparents, spouse, and children related by blood, marriage, or adoption.
Major repairs. Major repairs include pulling an engine block, repair or replacement of transmissions and front and rear axles, major body repair, dismantling, and similar work.
Registered/registration. A current, valid California registration for a vehicle conforming to Vehicle Code Section
4000 or
9840 et seq. for boats.
Residential districts. Residential districts are those areas of the city zoned for residential use, whether for single- Or multiple-family dwellings.
Routine maintenance. Routine maintenance includes changing oil and tires; replacement of water pump, alternator, brakes, shocks, oil and air filters, and spark plugs; and similar work.
Vehicle. A vehicle is a device by which any person or property may be propelled, moved, or drawn upon a highway or street, excepting a device moved exclusively by human power or used exclusively upon stationary rails or tracks.
(c) Routine repairs permitted. The registered owner of a vehicle or boat may perform routine maintenance on that vehicle or boat, or a vehicle or boat registered to a member of his immediate family, in public view in the driveway of his residence. Proof of registration of any vehicle or boat on which routine maintenance is occurring shall be provided to any city police officer or code enforcement officer upon request of that officer.
(d) Major repairs prohibited. It shall be unlawful for any person in any residential district to perform major repairs or dismantling in public view on any vehicle, boat, or part thereof, except for major repairs or dismantling which takes place in a fully enclosed garage, or in a carport if no garage exists on the property. If such work takes place in a fully enclosed garage, the garage door shall be closed when the work is not in progress.
(e) Noise. No noise-producing work, whether routine maintenance or major repairs, shall take place before 8:00 a.m. or after 9:00 p.m. on any day.
(f) Cleanup. Upon completion of any work allowed by this section to be performed in public view, the property shall be cleaned of all debris, oil, grease, gasoline, cloths, rags, and equipment or material used in the work, and shall be left in such a condition that no hazard to persons or property shall remain."
Anyway, I think you bring up a fair point. I am probably not in violation of any municipal codes (at this time), but it probably makes me susceptible to being watched for noise complaints and be in a presumption of guilt if challenged.