Tox fixes

Small issues preventing `tox -e docs` and `tox -e flake8` from passing on my box