From e59ecb12c0d6298c75b713ad9cc2f4a1a1682227 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 2 Oct 2020 01:12:30 +0200 Subject: [PATCH] Auto-format --- spacy/ml/featureextractor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spacy/ml/featureextractor.py b/spacy/ml/featureextractor.py index dcf212628..3d189008a 100644 --- a/spacy/ml/featureextractor.py +++ b/spacy/ml/featureextractor.py @@ -9,7 +9,9 @@ def FeatureExtractor(columns: List[Union[int, str]]) -> Model[List[Doc], List[In return Model("extract_features", forward, attrs={"columns": columns}) -def forward(model: Model[List[Doc], List[Ints2d]], docs, is_train: bool) -> Tuple[List[Ints2d], Callable]: +def forward( + model: Model[List[Doc], List[Ints2d]], docs, is_train: bool +) -> Tuple[List[Ints2d], Callable]: columns = model.attrs["columns"] features: List[Ints2d] = [] for doc in docs: