Add flake8 pre-commit hook (not enabled yet).