Some pylint in auto_partition (also do not use process _check_call when using shell=True)