add utils for pylinting and pep8ing a file

@jcounts 

Some utils that will be useful for the qc command