From 2d955fbf984864e98eab13aa21dd7e25a00a75bb Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 31 Jul 2020 17:05:28 +0200 Subject: [PATCH] Fix linting [ci skip] --- spacy/language.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/language.py b/spacy/language.py index 77f4be8bb..594a4b148 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -1141,9 +1141,9 @@ class Language: start_time = timer() # tokenize the texts only for timing purposes if not hasattr(self.tokenizer, "pipe"): - _ = [self.tokenizer(text) for text in texts] + _ = [self.tokenizer(text) for text in texts] # noqa: F841 else: - _ = list(self.tokenizer.pipe(texts)) + _ = list(self.tokenizer.pipe(texts)) # noqa: F841 for name, pipe in self.pipeline: kwargs = component_cfg.get(name, {}) kwargs.setdefault("batch_size", batch_size)