West Yorkshire town rated highly for the quality of its drinking establishments