@@ -72,7 +72,6 @@ def build( # noqa: PLR0913
7272 debug_pytask : bool = False ,
7373 disable_warnings : bool = False ,
7474 dry_run : bool = False ,
75- clean_lockfile : bool = False ,
7675 editor_url_scheme : Literal ["no_link" , "file" , "vscode" , "pycharm" ] # noqa: PYI051
7776 | str = "file" ,
7877 explain : bool = False ,
@@ -132,8 +131,6 @@ def build( # noqa: PLR0913
132131 Whether warnings should be disabled and not displayed.
133132 dry_run : bool, default=False
134133 Whether a dry-run should be performed that shows which tasks need to be rerun.
135- clean_lockfile : bool, default=False
136- Whether the lockfile should be rewritten to only include collected tasks.
137134 editor_url_scheme : Literal["no_link", "file", "vscode", "pycharm"] | str
138135 A URL scheme that allows task, node, and file names to become clickable links.
139136 explain : bool, default=False
@@ -228,7 +225,6 @@ def build( # noqa: PLR0913
228225 "debug_pytask" : debug_pytask ,
229226 "disable_warnings" : disable_warnings ,
230227 "dry_run" : dry_run ,
231- "clean_lockfile" : clean_lockfile ,
232228 "editor_url_scheme" : editor_url_scheme ,
233229 "explain" : explain ,
234230 "expression" : expression ,
@@ -357,12 +353,6 @@ def build( # noqa: PLR0913
357353 default = False ,
358354 help = "Execute a task even if it succeeded successfully before." ,
359355)
360- @click .option (
361- "--clean-lockfile" ,
362- is_flag = True ,
363- default = False ,
364- help = "Rewrite the lockfile with only currently collected tasks." ,
365- )
366356@click .option (
367357 "--explain" ,
368358 is_flag = True ,
0 commit comments