Skip to content

Commit 6bb5617

Browse files
committed
Fix lint errors in module pathpair
1 parent 0a8b33d commit 6bb5617

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

pathtraits/pathpair.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
"""
2+
Module to describe a file and its side car meta data
3+
"""
4+
5+
import logging
16
import re
27
import os
38
from dataclasses import dataclass
4-
import logging
59

610
logger = logging.getLogger(__name__)
711

@@ -17,6 +21,13 @@ class PathPair:
1721

1822
@staticmethod
1923
def find(path):
24+
"""
25+
Find the object file and its side car meta data file.
26+
Will determine whether a side car file exists.
27+
Returns None if there is no corresponding meta data file or object file.
28+
29+
:param path: any path
30+
"""
2031
object_path = None
2132
meta_path = None
2233

0 commit comments

Comments
 (0)