From da139ca973c14a1d9ac22c65e060a3ab09e9930d Mon Sep 17 00:00:00 2001 From: NymanRobin Date: Tue, 14 May 2024 22:28:21 +0300 Subject: [PATCH] ci: fix pylint errors Afte pylint was updated to version 3.2.0 a set of new errors appeared. This makes ci passing by either fixing the problem or ignoring it in the check Signed-off-by: NymanRobin (cherry picked from commit dcec0804689101cc8fca547d8a8bc2f47afff2f8) --- .docs/macros/includes/main.py | 1 + deploy/examples/create-external-cluster-resources.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.docs/macros/includes/main.py b/.docs/macros/includes/main.py index 3b83354c3eb6..813cd208919f 100644 --- a/.docs/macros/includes/main.py +++ b/.docs/macros/includes/main.py @@ -12,6 +12,7 @@ def define_env(env): + target = None repo = Repository(".") if repo is not None: target = repo.head.shorthand diff --git a/deploy/examples/create-external-cluster-resources.py b/deploy/examples/create-external-cluster-resources.py index 23e5d189e263..1b96f95d2a2d 100644 --- a/deploy/examples/create-external-cluster-resources.py +++ b/deploy/examples/create-external-cluster-resources.py @@ -14,6 +14,8 @@ limitations under the License. """ +# pylint: disable=E0606 + import errno import sys import json