Fix PEP8 warnings in project template files
Fix PEP8 warnings in spider templates