Skip to content

Commit 4162c62

Browse files
author
Mohcine Tor
committed
fix: yapf formatting
1 parent a9f3190 commit 4162c62

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Babylon/commands/api/organizations/create.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ def create(state: Any, config: Any, keycloak_token: str, payload_file: pathlib.P
3737
with open(payload_file, 'r') as f:
3838
spec["payload"] = env.fill_template_jsondump(data=f.read(), state=state)
3939
services_state = state["services"]["api"]
40-
organizations_service = OrganizationService(state=services_state, config=config, keycloak_token=keycloak_token, spec=spec)
40+
organizations_service = OrganizationService(state=services_state,
41+
config=config,
42+
keycloak_token=keycloak_token,
43+
spec=spec)
4144
logger.info("Creating organization")
4245
response = organizations_service.create()
4346
if response is None:

Babylon/utils/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def get_config_from_k8s_secret_by_tenant(self, tenant: str):
274274
config.load_kube_config()
275275
except ConfigException as e:
276276
logger.error(f"Failed to load kube config: {e} \n"
277-
f"Please ensure your kubeconfig is valid and your context is set. \n"
277+
f"Please ensure your kubeconfig is valid and your context is set. \n"
278278
"Use 'kubectl config use-context' if needed")
279279
sys.exit(1)
280280
try:

0 commit comments

Comments
 (0)