Skip to content

Commit ccbf130

Browse files
committed
Fix flake8 issues
1 parent e3860c4 commit ccbf130

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sparklingml/transformation_functions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ def __new__(cls):
109109
def get(self, lang):
110110
if lang not in self._spacys:
111111
import spacy
112-
# Hack to dynamically download languages on cluster machines, you can
113-
# remove if you have the models installed and just do:
112+
# Hack to dynamically download languages on cluster machines,
113+
# you can remove if you have the models installed and just do:
114114
# cls._spacys[lang] = spacy.load(lang)
115115
try:
116116
old_exit = sys.exit
@@ -153,7 +153,7 @@ def __getstate__(self):
153153
def __setstate__(self, bcast):
154154
"""Set state, from the broadcast."""
155155
self = bcast.value
156-
156+
self
157157

158158

159159
class SpacyTokenize(ScalarVectorizedTransformationFunction):

0 commit comments

Comments
 (0)