Test for PEP8 violations

Add a test (which can be executed automatically by CI) to check for certain PEP8 violations. Initially, all rules with 5 or more violations are ignored.