Local residents said a group were targeting a house on Brownhill Crescent on Friday morning.
West Yorkshire Police said:
"Police were called to Brownhill Crescent at about 11.15am on Friday to a report of a disturbance involving a group of males.
"Officers attended and arrested four men in connection with the incident on suspicion of affray.
"All four have now been released under investigation and enquiries remain ongoing."