Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
Signed-off-by: tarilabs <[email protected]>
  • Loading branch information
tarilabs committed Mar 5, 2025
1 parent 89f860e commit 752e107
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions olot/basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import tarfile
from typing import Dict, List, Sequence
import typing
import click

from olot.oci.oci_config import OCIManifestConfig

Expand Down Expand Up @@ -137,7 +136,7 @@ def oci_layers_on_top(



def crawl_ocilayout_manifests(ocilayout: Path, ocilayout_indexes: Dict[str, OCIImageIndex], ocilayout_root_index: OCIImageIndex = None) -> Dict[str, OCIImageManifest]:
def crawl_ocilayout_manifests(ocilayout: Path, ocilayout_indexes: Dict[str, OCIImageIndex], ocilayout_root_index: typing.Union[OCIImageIndex, None] = None) -> Dict[str, OCIImageManifest]:
"""crawl Manifests from referred OCI Index(es) and Manifests in the root index of the oci-layout
"""
ocilayout_manifests: Dict[str, OCIImageManifest] = {}
Expand Down

0 comments on commit 752e107

Please sign in to comment.