Fix PEP8 errors and skip doc directory