Skip to content

Commit

Permalink
chore: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bencevans committed Jun 23, 2022
1 parent cb841bc commit b5a86f2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions camtrapml/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@

from pathlib import Path
from os import walk

from camtrapml.image.utils import is_image
from typing import Union
from camtrapml.image.utils import is_image


class ImageDataset:
"""
A dataset is a collection of images.
"""

name: str
path: Path

def __init__(self,path: Path, name : Union[None, str] = None):
def __init__(self, path: Path, name: Union[None, str] = None):
self.name = name
self.path = Path(path).expanduser()
self.image_set = None
Expand Down

0 comments on commit b5a86f2

Please sign in to comment.