From c2d67c00873ac6bbd1fafb077ca43414f6dc7663 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Fri, 30 Sep 2022 12:20:58 -0400 Subject: [PATCH] pre commit --- src/spiffworkflow_backend/routes/process_api_blueprint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spiffworkflow_backend/routes/process_api_blueprint.py b/src/spiffworkflow_backend/routes/process_api_blueprint.py index 7bb0b1bb..5ea10af6 100644 --- a/src/spiffworkflow_backend/routes/process_api_blueprint.py +++ b/src/spiffworkflow_backend/routes/process_api_blueprint.py @@ -1309,7 +1309,7 @@ def delete_secret(key: str) -> Response: def add_allowed_process_path(body: dict) -> Response: """Get allowed process paths.""" secret = SecretService().get_secret(body["secret_key"]) - assert secret + assert secret # noqa: S101 allowed_process_path = SecretService.add_allowed_process( secret.id, g.user.id, body["allowed_relative_path"] )