upgrade flake8/pyflakes; fix bare exceptions
#1790

jseppi wants to merge 1788-flake8-compat into develop

We do not currently have an analysis of these two commits