Comment 0 for bug 524279

Revision history for this message
Numérigraphe (numerigraphe) wrote :

The convention for the moment is to end each python file with a vim mode line. There are offending files in the current codebase, which you can find out with GNU grep:
    grep -R --files-without-match "^# vim:" . |grep ".py$"
and fix with bash and GNU grep:
    for i in $(grep -R --files-without-match "^# vim:" . |grep ".py$" ); do echo "# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:" >>$i ; done
Lionel.