Coverage for leeway/__main__.py: 100.00%

3 statements  

« prev     ^ index     » next       coverage.py v7.0.1, created at 2023-01-02 20:32 +0100

1""" 

2Entrypoint module, in case you use `python -mleeway`. 

3 

4 

5Why does this file exist, and why __main__? For more info, read: 

6 

7- https://www.python.org/dev/peps/pep-0338/ 

8- https://docs.python.org/2/using/cmdline.html#cmdoption-m 

9- https://docs.python.org/3/using/cmdline.html#cmdoption-m 

10""" 

11import sys 

12 

13from leeway.cli import main 

14 

15if __name__ == '__main__': 

16 sys.exit(main(argv=sys.argv)) # type: ignore # pragma: no cover