Skip to content

Commit 9c93efa

Browse files
committed
lint
1 parent 4ce99ce commit 9c93efa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas_streaming/df/dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def _process_kwargs(kwargs):
153153
Filters out parameters for the constructor of this class.
154154
"""
155155
kw = {}
156-
for k in {'check_schema'}:
156+
for k in ['check_schema']:
157157
if k in kwargs:
158158
kw[k] = kwargs[k]
159159
del kwargs[k]

pandas_streaming/df/dataframe_io_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def flatten_dictionary(dico, sep="_"):
116116
117117
Inspired from `flatten_json <https://github.com/amirziai/flatten/blob/master/flatten_json.py>`_.
118118
"""
119-
flattened_dict = dict()
119+
flattened_dict = {}
120120

121121
def _flatten(obj, key):
122122
if obj is None:

0 commit comments

Comments
 (0)