Forensic teams remain at the scene of the incident, in which three male suspects are believed to have fired shots at the door of a property on Radcliffe Road, Lupset, at around 3.04am.
The trio then fled the scene in a Silver Vauxhall, which was later found burned out.
An increased police presence has been reported in the area, and photos show a police cordon blocking off a large area of the street in both directions.
Officers investigating the incident believed the firearms discharge was a targeted attack, and said extensive enquiries are underway.
Detective Inspector Sarah Burton of West Yorkshire’s Firearms Prevent Team said: "Our investigation is at an early stage but we believe this has been a targeted attack.
"This incident will understandably cause concern in the local community and there are increased high visibility patrols in the area to offer reassurance.
"The discharge of any firearm is extremely serious and extensive enquiries are underway to find all of those responsible.
"Thankfully no one has been injured in this incident.
"I would appeal for anyone who witnessed the incident or anyone with information to contact officers."
Anyone with any information is asked to contact police on 101 or use the online chat facility on the West Yorkshire Police website, quoting crime reference 13200406208
Information can also be given anonymously via Crimestoppers on 0800 555 111.