11"""Core function for pyinfraformat."""
2+
23import fnmatch
34import logging
45import os
@@ -153,7 +154,6 @@ def filter_holes(self, *, bbox=None, hole_type=None, start=None, end=None, fmt=N
153154
154155 def _filter_coordinates (self , holes , bbox ):
155156 """Filter object by coordinates."""
156- # pylint: disable=no-self-use
157157 xmin , xmax , ymin , ymax = bbox
158158 filtered_holes = []
159159 for hole in holes :
@@ -174,7 +174,7 @@ def _filter_coordinates(self, holes, bbox):
174174
175175 def _filter_type (self , holes , hole_type ):
176176 """Filter object by survey abbreviation (type)."""
177- # pylint: disable=no-self-use
177+
178178 filtered_holes = []
179179 if isinstance (hole_type , str ):
180180 hole_type = [hole_type ]
@@ -189,7 +189,7 @@ def _filter_type(self, holes, hole_type):
189189
190190 def _filter_date (self , holes , start = None , end = None , fmt = None ):
191191 """Filter object by datetime."""
192- # pylint: disable=no-self-use
192+
193193 if isinstance (start , str ) and fmt is None :
194194 start = pd .to_datetime (start )
195195 elif isinstance (start , str ) and fmt is not None :
0 commit comments