From a9ba88353bf17ac2b8186be0ed3e86aa6c6ffc08 Mon Sep 17 00:00:00 2001 From: MoritzWeber Date: Wed, 1 Nov 2023 13:55:18 +0100 Subject: [PATCH] ci: Ignore `print`-statements in workspace CLI --- backend/capellacollab/cli/ws.py | 4 +++- backend/pyproject.toml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/capellacollab/cli/ws.py b/backend/capellacollab/cli/ws.py index f80d666f8..60af4cae8 100644 --- a/backend/capellacollab/cli/ws.py +++ b/backend/capellacollab/cli/ws.py @@ -1,6 +1,8 @@ # SPDX-FileCopyrightText: Copyright DB Netz AG and the capella-collab-manager contributors # SPDX-License-Identifier: Apache-2.0 +# pylint: disable=bad-builtin + from __future__ import annotations import contextlib @@ -11,7 +13,7 @@ import typing as t import typer -import websocket # type: ignore[import] +import websocket from kubernetes import client, config, stream app = typer.Typer() diff --git a/backend/pyproject.toml b/backend/pyproject.toml index 0b4fecc03..133911f23 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -132,6 +132,7 @@ module = [ "alembic.*", "jwt.*", "argon2.*", + "websocket.*" ] ignore_missing_imports = true