diff --git a/.docs/macros/includes/main.py b/.docs/macros/includes/main.py index 3b83354c3..813cd2089 100644 --- a/.docs/macros/includes/main.py +++ b/.docs/macros/includes/main.py @@ -12,6 +12,7 @@ subst = "\\1/%s/" 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 19e274442..ce28d7073 100644 --- a/deploy/examples/create-external-cluster-resources.py +++ b/deploy/examples/create-external-cluster-resources.py @@ -14,6 +14,8 @@ See the License for the specific language governing permissions and limitations under the License. """ +# pylint: disable=E0606 + import errno import sys import json