Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MDavidson17 committed Jul 22, 2022
1 parent 4492929 commit d597338
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 4 additions & 1 deletion scripts/gdal_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ def command_to_string(command: List[str]) -> str:


def run_gdal(
command: List[str], input_file: Optional[str] = None, output_file: Optional[str] = None, input_file_index: Optional[int] = None
command: List[str],
input_file: Optional[str] = None,
output_file: Optional[str] = None,
input_file_index: Optional[int] = None,
) -> "subprocess.CompletedProcess[bytes]":
"""Run the GDAL command. The permissions to access to the input file are applied to the gdal environment.
Expand Down
5 changes: 1 addition & 4 deletions scripts/standardising.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,9 @@

parser = argparse.ArgumentParser()
parser.add_argument("--source", dest="source", nargs="+", required=True)

arguments = parser.parse_args()
source = arguments.source


source = format_source(source)
source = format_source(arguments.source)

get_log().info("standardising", source=source)
gdal_env = os.environ.copy()
Expand Down

0 comments on commit d597338

Please sign in to comment.