add class checker for be flake8 compliant