The SNP would not do a deal with labour. They will support or oppose whatever government wins power on an issue by issue basis while trying to get the best deal for Scotland.
Scotland has quite clearly rejected the Conservatives. If they won't help their own electorate avoid a Conservative leadership, then they're idiots.