mirror of https://github.com/explosion/spaCy.git
Respect the no_skip value
This commit is contained in:
commit
34c401f04f
|
@ -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