diff --git a/spacy/cli/configure.py b/spacy/cli/configure.py index 5f31ca0b4..c7637cf04 100644 --- a/spacy/cli/configure.py +++ b/spacy/cli/configure.py @@ -119,7 +119,7 @@ def _check_pipeline_names(nlp: Language, nlp2: Language) -> Dict[str, str]: fail_msg = """ Tried automatically renaming {name} to {new_name}, but still had a collision, so bailing out. Please make your pipe names - more unique. + unique. """ # map of components to be renamed diff --git a/spacy/cli/merge.py b/spacy/cli/merge.py index 6fd9e8153..528237dae 100644 --- a/spacy/cli/merge.py +++ b/spacy/cli/merge.py @@ -14,8 +14,8 @@ def _inner_merge( ) -> Language: """Actually do the merge. - nlp: Base pipeline to add components to. - nlp2: Pipeline to add components from. + nlp (Language): Base pipeline to add components to. + nlp2 (Language): Pipeline to add components from. replace_listeners (bool): Whether to replace listeners. Usually only true if there's one listener. returns: assembled pipeline.