From 68bf84ec5cb2a9550e1bc1d78332d64119818835 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 5 Nov 2025 10:10:42 +0100 Subject: [PATCH] Fix type errors --- spacy/cli/download.py | 2 +- spacy/pipeline/lemmatizer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/cli/download.py b/spacy/cli/download.py index 8ab6a2997..8104fd2d2 100644 --- a/spacy/cli/download.py +++ b/spacy/cli/download.py @@ -42,7 +42,7 @@ def download_cli( DOCS: https://spacy.io/api/cli#download AVAILABLE PACKAGES: https://spacy.io/models """ - download(model, direct, sdist, custom_url=url, *ctx.args) + download(model, direct, sdist, url, *ctx.args) def download( diff --git a/spacy/pipeline/lemmatizer.py b/spacy/pipeline/lemmatizer.py index 26867b473..e8d467ef8 100644 --- a/spacy/pipeline/lemmatizer.py +++ b/spacy/pipeline/lemmatizer.py @@ -210,7 +210,7 @@ class Lemmatizer(Pipe): rules = rules_table.get(univ_pos, {}) orig = string string = string.lower() - forms = [] + forms = [] # type: ignore oov_forms = [] for old, new in rules: if string.endswith(old):