If you read carefully, Atticus is not so different . He handles Scout's temper tantrum the same fatherly way. He attended a Klan meeting once, to see who was behind the hoods. Is that racists? To understand the people of the town and who he was dealing with.
The later comments about Zeebo running the town could equally…