3:08 PM PT -- Law enforcement sources tell TMZ it's currently unclear if the person arrested for the weapons charge was involved in the shooting, but testing will be done on the gun recovered at the home.
11:48 AM PT -- We're told one person on the scene was arrested for a weapons charge.
The L.A. County Sheriff's Dept. is raiding a Hollywood Hills home in connection to a shooting involving an SUV registered to YG, which left one deputy shot and an innocent bystander dead.
Sheriff's sources say the house is leased by YG ... but he was not detained or arrested and was not present on the property during the raid. Deputies got a judge to sign a search warrant in connection with the incident involving a wild police chase earlier this month.
As TMZ reported, someone inside an SUV registered to YG fired shots from inside the vehicle, striking a deputy. A pedestrian was killed during the crossfire between deputies and the shooter. The incident occurred on July 3 in Compton.
YG denied he was there at the time of the shooting, saying, "I was nowhere near the scene of this incident and had been in a recording studio all day in Hollywood. I was there until after midnight on the 4th of July and didn't learn of these events until after they happened."