rook / rook

Storage Orchestration for Kubernetes
https://rook.io
Apache License 2.0
12.04k stars 2.66k forks source link

ci: fix pylint errors (backport #14204) #14207

Closed mergify[bot] closed 1 month ago

mergify[bot] commented 1 month ago

Afte pylint was updated to version 3.2.0 a set of new errors appeared that breaks ci. This change makes ci passing by either fixing the problem or ignoring it in the check

I propose starting with this to get ci passing, then in a follow-up PR remove the python2 support from deploy/examples/create-external-cluster-resources.py which will make fixing the lint error there much more trivial and also allow for so more refactoring of the code

fixes: #14203


This is an automatic backport of pull request #14204 done by Mergify.