No pins, even unused ones, should ever be left floating.
Well that might be a little extreme advice. AVR I/O pins default to be input pins after a power up or reset condition. I've read many a sketch on this forum and I don't recall any that set all unused pins to output mode or that enabled all the internal pull-ups of all the unused input pins.
Lefty