mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 14:03:55 -05:00
Fix check:format not just checking
This commit is contained in:
parent
b15d712bc5
commit
3995e01136
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ impl BuildAction for PythonFormat<'_> {
|
|||
build.add_inputs("ruff", inputs![":pyenv:ruff"]);
|
||||
|
||||
let hash = simple_hash(self.inputs);
|
||||
build.add_variable("check", if self.check_only { "--check" } else { "" });
|
||||
build.add_variable("mode", if self.check_only { "--check" } else { "" });
|
||||
|
||||
build.add_output_stamp(format!(
|
||||
"tests/python_format.{}.{hash}",
|
||||
|
|
|
|||
Loading…
Reference in a new issue