Move flake8 check out of hook file.
Move pdb check out of hook file.
Update documentation.