With the Light Step perk, you’ll never set off an enemy's mines or floor-based traps.
Traps can still be set off by your companions (including "floating" companions such as RL-3 or ED-E), possibly resulting in you taking damage as well. Only your companions will take damage from rigged shotguns (unless you are in between) and bear traps. Other traps, such as explosive baby carriages, still go off if you get close to them, and grenade bouquets triggered by a floor trap will still go off if you make contact with the grenades, or shoot them.
Maybe it was the landmine that almost blew your leg off, or maybe it was the sight of your buddy in pieces next to you. Whatever the cause, when you meet the triggering criteria for a landmine, door bomb, or steel trap, there is a 4 in 20 chance per rank that it fails to go off anyway.