mirror of https://github.com/astral-sh/ruff
[ty] Set `INSTA_FORCE_PASS` and `INSTA_OUTPUT` environment variables from mdtest.py (#21029)
This commit is contained in:
parent
58a68f1bbd
commit
20510e1d71
|
|
@ -106,7 +106,12 @@ class MDTestRunner:
|
||||||
return subprocess.run(
|
return subprocess.run(
|
||||||
[self.mdtest_executable, *arguments],
|
[self.mdtest_executable, *arguments],
|
||||||
cwd=CRATE_ROOT,
|
cwd=CRATE_ROOT,
|
||||||
env=dict(os.environ, CLICOLOR_FORCE="1"),
|
env=dict(
|
||||||
|
os.environ,
|
||||||
|
CLICOLOR_FORCE="1",
|
||||||
|
INSTA_FORCE_PASS="1",
|
||||||
|
INSTA_OUTPUT="none",
|
||||||
|
),
|
||||||
capture_output=capture_output,
|
capture_output=capture_output,
|
||||||
text=True,
|
text=True,
|
||||||
check=False,
|
check=False,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue