mirror of
https://github.com/p2p-ld/numpydantic.git
synced 2025-01-10 05:54:26 +00:00
rm pdb
This commit is contained in:
parent
47e5cb8da1
commit
34e48b394a
2 changed files with 2 additions and 4 deletions
|
@ -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",
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue