erp5flakes is a Wrapper around pyflakes to check ERP5 code for errors. It can parse python code in products or python scripts in business templates, in skin folders or workflow. To use it, simply invoke erp5flakes with the path to products or business templates you want to check.