Activate pipefail options

Otherwise the status code from pep-it is lost, since it's piped to tee

@maxfliri
Making pep8 happy - and that's not easy...

@maxfliri
Merge branch 'master' into fill-gaps-in-period-query

Prior to issuing a pull request
Fix PEP8 violation