I’ve got a resident black snake around my house that occasionally suns on my front porch. Very glad to have him as he helps keep the population of vermin down.
Black yard snakes are actually non-venomous and good to have around. They don’t co-exit with the venomous kind, so if you have one, it usually means there aren’t venomous ones nearby.