Skip to content

Commit

Permalink
black fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Julia Putko committed Jul 12, 2024
1 parent 2eb4221 commit cd7f1d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions smartsim/_core/entrypoints/file_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def _get_prev_value(tagged_line: str) -> str:
split_tag = tagged_line.split(tag_delimiter)
return split_tag[1]

def _is_ensemble_spec(tagged_line: str, application_params: dict[str,str]) -> bool:
def _is_ensemble_spec(tagged_line: str, application_params: dict[str, str]) -> bool:
split_tag = tagged_line.split(tag_delimiter)
prev_val = split_tag[1]
if prev_val in application_params.keys():
Expand Down Expand Up @@ -210,6 +210,7 @@ def _is_ensemble_spec(tagged_line: str, application_params: dict[str,str]) -> bo
for line in lines:
file_stream.write(line)


def get_parser() -> argparse.ArgumentParser:
"""Instantiate a parser to process command line arguments
Expand Down Expand Up @@ -264,7 +265,7 @@ def parse_arguments() -> argparse.Namespace:


if __name__ == "__main__":
"""Run file operations move, remove, symlink, copy, and configure
"""Run file operations move, remove, symlink, copy, and configure
using command line arguments.
"""
os.environ["PYTHONUNBUFFERED"] = "1"
Expand Down

0 comments on commit cd7f1d2

Please sign in to comment.