Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_service/pypi.py: assign pip_cache_dir outside of if statement
Assignment expressions are only supported from Python 3.8 and upwards. Because the if statement consists out of early returns, we can create another if statement and assign the pip cache directory before the if statement and after the check for a custom directory has happened.
- Loading branch information