From f428bf663b26ebf41c6588bc1736ea190a42c4c9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 05:31:17 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/awx_plugins/interfaces/registry.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/awx_plugins/interfaces/registry.py b/src/awx_plugins/interfaces/registry.py index 7d0aae66..b84f3341 100644 --- a/src/awx_plugins/interfaces/registry.py +++ b/src/awx_plugins/interfaces/registry.py @@ -45,7 +45,10 @@ def add(self, credential_type: ManagedCredentialType) -> None: raise ValueError( 'existing entry for namespace={} defined in {}'.format( namespace, inspect.getsourcefile( - self._registry[namespace].__class__))) + self._registry[namespace].__class__, + ), + ), + ) self._registry[namespace] = credential_type def get(self, namespace: str) -> ManagedCredentialType: