Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismeyersfsu committed Nov 18, 2024
1 parent 039ccee commit 888f5b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/awx_plugins/credentials/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

from awx_plugins.credentials.injectors import (
aws,
gce,
azure_rm,
vmware,
openstack,
gce,
kubernetes_bearer_token,
openstack,
terraform,
vmware,
)


Expand Down
5 changes: 3 additions & 2 deletions src/awx_plugins/inventory/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
import stat
import tempfile

from awx_plugins.interfaces._temporary_private_api import ( # noqa: WPS436
ManagedCredentialType,
)
from awx_plugins.interfaces._temporary_private_container_api import ( # noqa: WPS436
get_incontainer_path,
)
Expand Down Expand Up @@ -103,8 +106,6 @@ def _get_shared_env(
), # so injector knows this is inventory
}
if self.base_injector == 'managed':
from awx_plugins.interfaces._temporary_private_api import ManagedCredentialType

cred_kind = inventory_update.source.replace('ec2', 'aws')
cred_type = ManagedCredentialType.registry[cred_kind]
if cred_type.custom_injectors:
Expand Down

0 comments on commit 888f5b4

Please sign in to comment.