add a lint command to verify conformace to the style spec

I probably should have added this to Graham's branch for the pep8 pre-commit hook, but only thought of it after.