"""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())