Skip to content

Commit

Permalink
fixed code style using per-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cansik committed Dec 30, 2023
1 parent e6acae8 commit a02e25b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nanodet/data/dataset/yolo.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def __init__(self, class_names, **kwargs):

@staticmethod
def _find_image(
image_prefix: str,
image_types: Sequence[str] = (".png", ".jpg", ".jpeg", ".bmp", ".tiff"),
image_prefix: str,
image_types: Sequence[str] = (".png", ".jpg", ".jpeg", ".bmp", ".tiff"),
) -> Optional[str]:
for image_type in image_types:
path = f"{image_prefix}{image_type}"
Expand Down

0 comments on commit a02e25b

Please sign in to comment.