We had fleas a few years back; we just took the snakes to my friend's house (there were a LOT less snakes at that time!) for the day that we bug-bombed, along with some frogs I had at the time. I ahd rats too and just left them out in the garage in their cages (it was summertime.) And the cat spent a few hours in his kitty carrier (he was Not happy, lol.)
I don't think bug-bombs will harm snakes; I would clear them out of the house for the day though; if you could find a trusted friend or family member to keep an eye on them.
Our landlord actually bug-bombed the basement a few years ago.. without letting us know.. the fumes had to have crept upstairs. But no casualties; though Mark had some words with him!