DerivationFrameworkMuons: Python 3 / flake8 fixes.
Re-apply python 3 fixes clobbered by previous change. Enable flake8 checking for the python directory and fix warnings.
GitLab jobs artifacts no longer stored forever as of Monday, November 4th 08:30h. Further information under https://cern.ch/otg0152576
Re-apply python 3 fixes clobbered by previous change. Enable flake8 checking for the python directory and fix warnings.