apache / libcloud

Apache Libcloud is a Python library which hides differences between different cloud provider APIs and allows you to manage different cloud resources through a unified and easy to use API.
https://libcloud.apache.org
Apache License 2.0
2.04k stars 925 forks source link

Fix typos in the code using "codespell" package, enforce codespell check as part of CI #1923

Closed Kami closed 1 year ago

Kami commented 1 year ago

This PR fixes minor typos in the code using codespell package (https://pypi.org/project/codespell/).

It also updates CI to run this tool as part of the lint job.

codecov-commenter commented 1 year ago

Codecov Report

Merging #1923 (86d92d2) into trunk (2b1b3d4) will not change coverage. The diff coverage is 77.78%.

:exclamation: Current head 86d92d2 differs from pull request most recent head 86456d9. Consider uploading reports for the commit 86456d9 to get more accurate results

@@           Coverage Diff           @@
##            trunk    #1923   +/-   ##
=======================================
  Coverage   83.12%   83.12%           
=======================================
  Files         353      353           
  Lines       81351    81351           
  Branches     8594     8594           
=======================================
  Hits        67622    67622           
  Misses      10924    10924           
  Partials     2805     2805           
Files Changed Coverage Δ
libcloud/common/base.py 90.96% <ø> (ø)
libcloud/common/cloudstack.py 86.60% <ø> (ø)
libcloud/common/dimensiondata.py 94.92% <ø> (ø)
libcloud/common/gridscale.py 83.93% <ø> (ø)
libcloud/common/nttcis.py 73.59% <ø> (ø)
libcloud/common/openstack.py 85.32% <ø> (ø)
libcloud/common/upcloud.py 92.00% <ø> (ø)
libcloud/common/worldwidedns.py 63.44% <0.00%> (ø)
libcloud/compute/drivers/abiquo.py 95.90% <ø> (ø)
libcloud/compute/drivers/cloudscale.py 85.71% <ø> (ø)
... and 49 more