Skip to content

Commit 3e465e3

Browse files
committed
Black reformatting
1 parent 8e0b07d commit 3e465e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sasctl/pzmm/write_json_files.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
# noinspection PyPackageRequirements
2828
import numpy as np
2929

30-
3130
class NpEncoder(json.JSONEncoder):
3231
def default(self, obj):
3332
if isinstance(obj, np.integer):
@@ -41,10 +40,10 @@ def default(self, obj):
4140
except ImportError:
4241
np = None
4342

44-
4543
class NpEncoder(json.JSONEncoder):
4644
pass
4745

46+
4847
# TODO: add converter for any type of dataset (list, dataframe, numpy array)
4948

5049
# Constants

0 commit comments

Comments
 (0)