mirror of https://github.com/explosion/spaCy.git
Respect the no_skip value
Seems like the logic for this was just left out. See #8796.
This commit is contained in:
parent
6bbc2b1956
commit
284b530c63
|
@ -212,6 +212,9 @@ def check_rerun(
|
|||
strict_version (bool):
|
||||
RETURNS (bool): Whether to re-run the command.
|
||||
"""
|
||||
# Always rerun if no-skip is set
|
||||
if command.get("no_skip", False):
|
||||
return True
|
||||
lock_path = project_dir / PROJECT_LOCK
|
||||
if not lock_path.exists(): # We don't have a lockfile, run command
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue