Skip to content

Commit 68bf84e

Browse files
committed
Fix type errors
1 parent 4ebe774 commit 68bf84e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spacy/cli/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def download_cli(
4242
DOCS: https://spacy.io/api/cli#download
4343
AVAILABLE PACKAGES: https://spacy.io/models
4444
"""
45-
download(model, direct, sdist, custom_url=url, *ctx.args)
45+
download(model, direct, sdist, url, *ctx.args)
4646

4747

4848
def download(

spacy/pipeline/lemmatizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def rule_lemmatize(self, token: Token) -> List[str]:
210210
rules = rules_table.get(univ_pos, {})
211211
orig = string
212212
string = string.lower()
213-
forms = []
213+
forms = [] # type: ignore
214214
oov_forms = []
215215
for old, new in rules:
216216
if string.endswith(old):

0 commit comments

Comments
 (0)