push
github
only set pex --override during lockfile generation (#22783) For many cli flags we tend towards a "belt and suspenders" approach and set them broadly -- and perhaps redundantly -- instead of only in the narrow case where we are sure they are needed. This works fine in most cases but for --override Pex has an explicit check [1] so that in Pants terms one most override when generating a lockfile, not when using or subsetting it. [1] https://github.com/pex-tool/pex/blob/682536efd/pex/bin/pex.py#L1012
77875 of 97004 relevant lines covered (80.28%)
3.62 hits per line