Coverage for docs_src/exceptions/tutorial002.py: 100%
5 statements
« prev ^ index » next coverage.py v7.6.1, created at 2025-04-14 00:18 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2025-04-14 00:18 +0000
1import typer 1abcdefghi
3app = typer.Typer(pretty_exceptions_show_locals=False) 1abcdefghi
6@app.command() 1abcdefghi
7def main(password: str): 1abcdefghi
8 print(password + 3) 1abcdefghi
11if __name__ == "__main__": 1abcdefghi
12 app() 1abcdefghi