Coverage for tests / assets / type_error_no_rich.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-03-09 16:39 +0000

1import typer 1abcdefg

2import typer.main 1abcdefg

3 

4typer.main.HAS_RICH = False 1abcdefg

5 

6app = typer.Typer() 1abcdefg

7 

8 

9@app.command() 1abcdefg

10def main(name: str = "morty"): 1abcdefg

11 print(name + 3) 1abcdefg

12 

13 

14if __name__ == "__main__": 1abcdefg

15 app() 1abcdefg