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 Jan 4, 2024
1 parent 2e43923 commit ef2022f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion covalent_ec2_plugin/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ async def _run_async_subprocess(self, cmd: List[str], cwd=None, log_output: bool
return proc, stdout, stderr

def _get_tf_statefile_path(self, task_metadata: Dict) -> str:
state_file = f"{self._TF_DIR}/ec2-{task_metadata['dispatch_id']}-{task_metadata['node_id']}.tfstate"
state_file = (
f"{self._TF_DIR}/ec2-{task_metadata['dispatch_id']}-{task_metadata['node_id']}.tfstate"
)
return state_file

async def _get_tf_output(self, var: str, state_file: str) -> str:
Expand Down

0 comments on commit ef2022f

Please sign in to comment.