I had a tough time with this topic from Long and Short Reviews. I live in Yorkshire, and I suppose the obvious answer is to go with the Brontes for books since they lived around here, but I seem to think of them every time. I wanted to think of something different this time.
Then I remembered the show Last of the Summer Wine.
I gave up watching it years ago, but I've visited Holmfirth where it was set. Essentially it was a gentle comedy about three retired men (in the case of one, possibly never having had a job at all) having fun in the Yorkshire countryside. I stopped watching after Compo died and they tried to diversify the cast, but I remember it as being funny in an inoffensive sort of way.
And Holmfirth is a lovely little village which is well worth visiting, even if you aren't walking around going "I recognise that!"
So what has been set near your town?