[pyagent] flake8