From cdbbcd82b936498e74d7db8bf9a8d1fd0f21d42a Mon Sep 17 00:00:00 2001 From: vguptarippling Date: Sat, 27 Apr 2024 03:21:52 +0530 Subject: [PATCH] Revert "fixed semgrep issues" This reverts commit 3062d0fdf35c2ec4806a78f34b85e12993fdaf42. --- rippling_cli/cli/commands/flux/flux.py | 10 +++++----- rippling_cli/core/api_client.py | 2 +- rippling_cli/core/oauth_token.py | 2 +- rippling_cli/utils/file_utils.py | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/rippling_cli/cli/commands/flux/flux.py b/rippling_cli/cli/commands/flux/flux.py index 15bff25..5dcf041 100644 --- a/rippling_cli/cli/commands/flux/flux.py +++ b/rippling_cli/cli/commands/flux/flux.py @@ -43,8 +43,8 @@ def flux(ctx: click.Context): ensure_logged_in(ctx) -flux.add_command(app) # type: ignore[attr-defined] -flux.add_command(build) # type: ignore[attr-defined] -flux.add_command(check) # type: ignore[attr-defined] -flux.add_command(install) # type: ignore[attr-defined] -flux.add_command(uninstall) # type: ignore[attr-defined] +flux.add_command(app) # type: ignore +flux.add_command(build) # type: ignore +flux.add_command(check) # type: ignore +flux.add_command(install) # type: ignore +flux.add_command(uninstall) # type: ignore diff --git a/rippling_cli/core/api_client.py b/rippling_cli/core/api_client.py index bba3961..1f752b7 100644 --- a/rippling_cli/core/api_client.py +++ b/rippling_cli/core/api_client.py @@ -1,6 +1,6 @@ from http import client -import requests # type: ignore[attr-defined] +import requests # type: ignore class APIClient: diff --git a/rippling_cli/core/oauth_token.py b/rippling_cli/core/oauth_token.py index cafac4d..911fbda 100644 --- a/rippling_cli/core/oauth_token.py +++ b/rippling_cli/core/oauth_token.py @@ -5,7 +5,7 @@ from urllib.parse import parse_qs import click -import requests # type: ignore[attr-defined] +import requests # type: ignore from rippling_cli.config.config import get_oauth_token_data from rippling_cli.constants import RIPPLING_API, RIPPLING_BASE_URL diff --git a/rippling_cli/utils/file_utils.py b/rippling_cli/utils/file_utils.py index b7ae943..84ca932 100644 --- a/rippling_cli/utils/file_utils.py +++ b/rippling_cli/utils/file_utils.py @@ -4,7 +4,7 @@ from typing import Optional import click -import requests # type: ignore[attr-defined] +import requests # type: ignore from rippling_cli.exceptions.build_exceptions import DirectoryCreationFailed