mirror of
https://git.mirrors.martin98.com/https://github.com/ceph/ceph-csi.git
synced 2025-04-10 13:01:17 +08:00
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:
parent
add4b36900
commit
d10c83eeae
2
.github/workflows/retest.yaml
vendored
2
.github/workflows/retest.yaml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
@ -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}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user