mirror of https://github.com/pypa/pip
Nguyễn Gia Phong
cf6ecab627
HashError.order is now annotated as an int to allow HashErrors.errors.sort(key=lambda e: e.order). Alternatively we can define a function which assert e is not None but I prefer the more concise version, since we never raise HashError directly anyway. |
||
---|---|---|
.. | ||
pip |