From 2c478014e0d8c98c569cf78584a95fb8374c3131 Mon Sep 17 00:00:00 2001 From: Bill Wallis Date: Wed, 25 Mar 2026 18:22:33 +0000 Subject: [PATCH] feat: add `SystemExit` to `main.py` --- src/python_template/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python_template/main.py b/src/python_template/main.py index 872d361..a4f7678 100644 --- a/src/python_template/main.py +++ b/src/python_template/main.py @@ -3,4 +3,4 @@ def main() -> int: if __name__ == "__main__": - main() # pragma: no cover + raise SystemExit(main()) # pragma: no cover