While a cordon had since been removed, extra police patrols were also taking place in the area, they added.
Det Insp Claire Moss, senior investigating officer, said: “This shocking incident could very easily have caused serious injuries or even a fatality, as shots were fired at an occupied property, and it is only by chance that no-one was injured.
“Officers are determined to ensure the safety and peace of mind of residents in the area who may have been affected by this incident.”
Anyone with information about what happened, or who witnessed the incident, was urged to contact police.
Follow BBC Yorkshire on Facebook, external, X (formerly Twitter), external, and Instagram, external. Send your story ideas to yorkslincs.news@bbc.co.uk, external.





































