setup-python icon indicating copy to clipboard operation
setup-python copied to clipboard

Minor code readability improvements discovered on code review.

Open sgpinkus opened this issue 11 months ago • 0 comments

Description: Minor code readability improvements discovered on code review.

  • Rename (Pipenv|Poetry)Cache "patterns" field to "cacheDependencyPath" to be consistent with PipCache, base class, and cache-factory.ts
  • Rm CacheDistributor.cacheDependencyPath field and pass back from computeKeys instead, simplifying CacheDistributor.restoreCache error check. Rm now not needed constant.ts.

Related issue:

Check list:

  • [ ] Mark if documentation changes are required.
  • [ ] Mark if tests were added or updated to cover the changes.

sgpinkus avatar Jan 08 '25 06:01 sgpinkus