Add linum mode as hook to python mode