Skip to content
Snippets Groups Projects
Commit 0a2c670a authored by Mathieu FAUVEL's avatar Mathieu FAUVEL
Browse files

FIX: precommit

parent efe2f632
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ repos:
rev: 6.0.0
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.1.0
hooks:
......
""" Script used to download tiles from S3 TREX storage"""
"""Script used to download tiles from S3 TREX storage"""
import argparse
import logging
import os
from pathlib import Path
from datalakeutils import s3utils # type: ignore
from joblib import Parallel, delayed
from datalakeutils import s3utils # type: ignore
from extractreferencesamplesfromsits.download_utils import (download_tile_from_s3, compute_distance_mask, filter_duplicate)
from extractreferencesamplesfromsits.download_utils import ( # type: ignore
compute_distance_mask,
download_tile_from_s3,
filter_duplicate,
)
def get_parser() -> argparse.ArgumentParser:
......@@ -168,5 +172,3 @@ if __name__ == "__main__":
for product_path in downloaded_product_path
)
logging.info("Compute distance mask for all products - Done")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment