flake8 & doctest
Merge remote-tracking branch 'origin/py3' into py3