* repin flake8, bump tox to >=4.0.0 as that's where whitelist was deprecated, misc updates
* convert bash scripts to py