This commit is contained in:
sneakers-the-rat 2024-09-03 17:43:11 -07:00
parent 47e5cb8da1
commit 34e48b394a
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D
2 changed files with 2 additions and 4 deletions

View file

@ -145,8 +145,8 @@ select = [
"D210", "D211", "D210", "D211",
# emptiness # emptiness
"D419", "D419",
# no pdb
"T100",
] ]
ignore = [ ignore = [
"ANN101", "ANN102", "ANN401", "ANN204", "ANN101", "ANN102", "ANN401", "ANN204",

View file

@ -39,7 +39,6 @@ as ``S32`` isoformatted byte strings (timezones optional) like:
""" """
import pdb
import sys import sys
from datetime import datetime from datetime import datetime
from pathlib import Path from pathlib import Path
@ -322,7 +321,6 @@ class H5Interface(Interface):
""" """
if h5py.h5t.check_string_dtype(array.dtype): if h5py.h5t.check_string_dtype(array.dtype):
# check for datetimes # check for datetimes
pdb.set_trace()
try: try:
if array[0].dtype.type is np.datetime64: if array[0].dtype.type is np.datetime64:
return np.datetime64 return np.datetime64