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.
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: without- match "^# vim:" . |grep ".py$" without- match "^# vim:" . |grep ".py$" ); do echo "# vim:expandtab: smartindent: tabstop= 4:softtabstop= 4:shiftwidth= 4:" >>$i ; done
grep -R --files-
and fix with bash and GNU grep:
for i in $(grep -R --files-
Lionel.