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

Fix typos discovered by codespell

Open cclauss opened this issue 9 months ago • 0 comments

Description: Describe your changes.

https://pypi.org/project/codespell

codespell --skip="./dist/cache-save/*" --write-changes \
    --ignore-words-list=aas,abd,addin,afterall,caf,calender,compre,coreutil,fo,fpr,iif,nam,nervana,ontext,ser,sycle,trys,vor

Please do an extra review on the proposed code change on lines 19176 and 19180. These proposed changes might fix a bug where the correct spelling on line 19178 differs from these two typos.

-     var callback = function (error, responce) {
+     var callback = function (error, response) {
        request.removeListener('error', callback);
        request.removeListener('response', onResponse);

-       return cb.call(this, error, responce);
+       return cb.call(this, error, response);
      };

Related issue: Add link to the related issue.

Check list:

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

cclauss avatar Mar 30 '25 06:03 cclauss