Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 10, 2024
1 parent 1e7f409 commit f428bf6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/awx_plugins/interfaces/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f428bf6

Please sign in to comment.