Answer:
I believe this would be called Situational Irony.
Explanation:
My reasoning behind this is because you'd expect a famous rapper who's well known for using profane and vulgar words in songs to be okay with swearing songs being played in his home. It's what has created his reputation and what he manufactures/creates for a living.
Answer: It is the same in both the film and novel. In to kill a Mockingbird, Atticus shows empathy more than others. He also teaches his children how to show empathy. He often tells Jem and Scout to "Put yourself in their shoes". Tom Robinson also had empathy and it caused him to be accused of raping Mayella Ewell.