Coverage for src/jointview/__main__.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.15.4, created at 2026-08-17 06:44 +0000

1"""`python -m jointview`, the same thing the console script does.""" 

2 

3from jointview.cli import main 

4 

5# Guarded, because this module is importable as `jointview.__main__` and anything that 

6# walks the package — doctest collection, pydoc, autodoc — would otherwise launch a 

7# marimo server and block. Under `python -m jointview` the name is `__main__`, so the 

8# entry point itself is unaffected. 

9if __name__ == "__main__": 

10 raise SystemExit(main())