rag-qa-command-cente / scripts /run_pytest.py
Tarek Masryo
chore: update project files
6bef416
raw
history blame contribute delete
382 Bytes
"""Cross-platform pytest runner used by Makefile and CI."""
from __future__ import annotations
import os
import subprocess
import sys
def main() -> int:
os.environ.setdefault("PYTEST_DISABLE_PLUGIN_AUTOLOAD", "1")
args = sys.argv[1:] or ["-q"]
return subprocess.call([sys.executable, "-m", "pytest", *args])
if __name__ == "__main__":
raise SystemExit(main())