mirror of https://github.com/explosion/spaCy.git
Remove dummy variable from function calls
This commit is contained in:
parent
7f0ab145e9
commit
10dab8eef8
|
@ -25,4 +25,4 @@ def blank(name, **kwargs):
|
|||
|
||||
|
||||
def info(model=None, markdown=False):
|
||||
return cli_info(None, model, markdown)
|
||||
return cli_info(model, markdown)
|
||||
|
|
|
@ -38,8 +38,7 @@ def download(model, direct=False):
|
|||
# package, which fails if model was just installed via
|
||||
# subprocess
|
||||
package_path = get_package_path(model_name)
|
||||
link(None, model_name, model, force=True,
|
||||
model_path=package_path)
|
||||
link(model_name, model, force=True, model_path=package_path)
|
||||
except:
|
||||
# Dirty, but since spacy.download and the auto-linking is
|
||||
# mostly a convenience wrapper, it's best to show a success
|
||||
|
|
|
@ -86,6 +86,6 @@ def test_cli_trained_model_can_be_saved(tmpdir):
|
|||
|
||||
# spacy train -n 1 -g -1 nl output_nl training_corpus.json training \
|
||||
# corpus.json
|
||||
train(cmd, lang, output_dir, train_data, dev_data, n_iter=1)
|
||||
train(lang, output_dir, train_data, dev_data, n_iter=1)
|
||||
|
||||
assert True
|
||||
|
|
Loading…
Reference in New Issue