Change from /dev/stdin to --in-place %:p fix the formatting python file issue. Seems that /dev/stdin does not work on both Mac OS X 10.8.4 and Ubuntu 13.04