overlapping changes from @fwinkl (enable flake8) and @ggustavi (add Larged0 egamma) caused a few warnings