From ac4eea2c0011b36428f0fa93022248f30320c74f Mon Sep 17 00:00:00 2001 From: Sebastian Husch Lee Date: Tue, 12 Nov 2024 17:00:05 +0100 Subject: [PATCH] Fix pylint --- haystack/components/preprocessors/nltk_document_splitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haystack/components/preprocessors/nltk_document_splitter.py b/haystack/components/preprocessors/nltk_document_splitter.py index dc40e3b737..6826c22ecc 100644 --- a/haystack/components/preprocessors/nltk_document_splitter.py +++ b/haystack/components/preprocessors/nltk_document_splitter.py @@ -25,7 +25,7 @@ @component class NLTKDocumentSplitter(DocumentSplitter): - def __init__( + def __init__( # pylint: disable=too-many-positional-arguments self, split_by: Literal["word", "sentence", "page", "passage", "function"] = "word", split_length: int = 200,