From e874a04b679b18aab6f429acc76e8a6b0dce8fbc Mon Sep 17 00:00:00 2001 From: Basile Dura Date: Fri, 2 Jun 2023 09:45:39 +0200 Subject: [PATCH] fix: morphology.pxd (line length) --- spacy/morphology.pxd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spacy/morphology.pxd b/spacy/morphology.pxd index 5b84cb1c8..a0afa03cf 100644 --- a/spacy/morphology.pxd +++ b/spacy/morphology.pxd @@ -20,4 +20,8 @@ cdef class Morphology: cdef int check_feature(const MorphAnalysisC* morph, attr_t feature) nogil cdef list list_features(const MorphAnalysisC* morph) cdef np.ndarray get_by_field(const MorphAnalysisC* morph, attr_t field) -cdef int get_n_by_field(attr_t* results, const MorphAnalysisC* morph, attr_t field) nogil +cdef int get_n_by_field( + attr_t* results, + const MorphAnalysisC* morph, + attr_t field, +) nogil