Skip to content

Commit 39e4eb4

Browse files
committed
inline ruff error exclusions
1 parent 11a6b9f commit 39e4eb4

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/ogx/providers/remote/inference/databricks/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class DatabricksImplConfig(RemoteInferenceProviderConfig):
3939
def sample_run_config(
4040
cls,
4141
base_url: str = "${env.DATABRICKS_HOST:=}",
42-
api_token: str = "${env.DATABRICKS_TOKEN:=}",
42+
api_token: str = "${env.DATABRICKS_TOKEN:=}", # noqa: S107
4343
**kwargs: Any,
4444
) -> dict[str, Any]:
4545
return {

src/ogx/providers/remote/inference/gemini/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def _validate_auth(self) -> "GeminiConfig":
5959
def sample_run_config(
6060
cls,
6161
api_key: str = "${env.GEMINI_API_KEY:=}",
62-
access_token: str = "${env.GEMINI_ACCESS_TOKEN:=}",
62+
access_token: str = "${env.GEMINI_ACCESS_TOKEN:=}", # noqa: S107
6363
project: str = "${env.GEMINI_AI_PROJECT:=}",
6464
**kwargs,
6565
) -> dict[str, Any]:

src/ogx/providers/remote/inference/oci/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,6 @@ def __init__(self, config_file: str = DEFAULT_LOCATION, profile_name: str = DEFA
101101
user=config["user"],
102102
fingerprint=config["fingerprint"],
103103
private_key_file_location=config.get("key_file"),
104-
pass_phrase="none", # type: ignore
104+
pass_phrase="none", # noqa: S106
105105
private_key_content=key_content,
106106
)

0 commit comments

Comments
 (0)