Skip to content

Commit 2d5fa3b

Browse files
fix(secret-resolver): ruff format
1 parent 5bc9a1a commit 2d5fa3b

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/sap_cloud_sdk/core/auditlog/config.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,7 @@ def _load_config_from_env() -> AuditLogConfig:
109109
binding_data: BindingData = BindingData("", "")
110110

111111
read_from_mount_and_fallback_to_env_var(
112-
module="auditlog",
113-
instance="default",
114-
target=binding_data
112+
module="auditlog", instance="default", target=binding_data
115113
)
116114

117115
binding_data.validate()

src/sap_cloud_sdk/core/secret_resolver/constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
Constants for secret resolver module.
33
"""
44

5-
65
BASE_PATH = "/etc/secrets/appfnd"
76
BASE_ENV_VAR_NAME = "CLOUD_SDK_CFG"

src/sap_cloud_sdk/core/secret_resolver/resolver.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def resolve_base_mount(base_volume_mount: str = BASE_PATH) -> str:
1212
"""Return SERVICE_BINDING_ROOT if set, otherwise the provided default."""
1313
return os.environ.get("SERVICE_BINDING_ROOT", base_volume_mount)
1414

15+
1516
def _validate_inputs(module: str, instance: str) -> None:
1617
"""Validate module and instance inputs."""
1718
if not isinstance(module, str) or not module.strip():

0 commit comments

Comments
 (0)