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 11, 2024
1 parent a20a68c commit e53aacd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/awx_plugins/interfaces/_temporary_private_inject_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ def inject_credential(
tower_namespace.filename = container_path # pylint: disable=attribute-defined-outside-init
else:
if not hasattr(tower_namespace, 'filename'):
tower_namespace.filename = TowerNamespace() # pylint: disable=attribute-defined-outside-init
tower_namespace.filename = TowerNamespace(
) # pylint: disable=attribute-defined-outside-init
file_label = file_label.split('.')[1]
setattr(
tower_namespace.filename, # pylint: disable=attribute-defined-outside-init
Expand Down Expand Up @@ -271,5 +272,6 @@ def build_extra_vars_file(
path = build_extra_vars_file(extra_vars, private_data_dir)
container_path = get_incontainer_path(path, private_data_dir)
args.extend(
['-e', '@%s' % container_path], # pylint: disable=consider-using-f-string
['-e', '@%s' %
container_path], # pylint: disable=consider-using-f-string
)

0 comments on commit e53aacd

Please sign in to comment.