ci: fix codespell and lint issues

fix codespell for "respository" and update ignore word list.
Fix extra whitespace lint issue from "tracevol.py" script

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
This commit is contained in:
Nikhil-Ladha 2025-03-27 15:50:51 +05:30 committed by mergify[bot]
parent add4b36900
commit d10c83eeae
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ jobs:
if: github.repository == 'ceph/ceph-csi'
runs-on: ubuntu-latest
steps:
- name: Checkout the ceph-csi respository
- name: Checkout the ceph-csi repository
# yamllint disable-line rule:line-length
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run local retest github action

View File

@ -1,5 +1,5 @@
[codespell]
# TODO: enable codespell on retest folder except vendor
skip = .git,./vendor,./docs/design/proposals/images,./actions/retest/*,./api/vendor,go.sum,./e2e/vendor
ignore-words-list = ExtraVersion,extraversion,ba
ignore-words-list = ExtraVersion,extraversion,ba,ro,RO
check-filenames = true

View File

@ -660,7 +660,7 @@ def check_snap_content_name_in_rados(snap_uuid, snap_content_name, pool, is_rbd)
def check_snap_uuid_in_rados(snap_uuid, snapcontent_name, pool, is_rbd):
"""
Checks whether the value of the key `csi.snapname` in the `csi.snap.<snap_uuid>`
Checks whether the value of the key `csi.snapname` in the `csi.snap.<snap_uuid>`
omap object matches the name of the snapshot content.
"""
omap_obj = f'csi.snap.{snap_uuid}'