I keep my rats on pine pellets, and the moms on pine shavings for the first two weeks after they give birth (the pine pellets broken down seem to smother the babies, and I experience a lot of loss if kept just on pine pellets).
My rat rack is 1 step away from my snake racks. No issues at all with the snakes.