Coverage report: 97%
Files Functions Classes
coverage.py v7.6.0, created at 2024-08-02 17:11 +0200
File | statements | missing | excluded | branches | partial | coverage |
---|---|---|---|---|---|---|
src/pydantic_typer/__init__.py | 2 | 0 | 0 | 0 | 0 | 100% |
src/pydantic_typer/main.py | 106 | 0 | 0 | 42 | 7 | 95% |
src/pydantic_typer/utils.py | 21 | 1 | 15 | 10 | 1 | 94% |
tests/__init__.py | 0 | 0 | 0 | 0 | 0 | 100% |
tests/test_001_basic.py | 18 | 0 | 0 | 0 | 0 | 100% |
tests/test_002_nested_models.py | 17 | 0 | 0 | 0 | 0 | 100% |
tests/test_003_annotated_argument.py | 22 | 0 | 0 | 0 | 0 | 100% |
tests/test_004_argument_override.py | 18 | 0 | 0 | 0 | 0 | 100% |
tests/test_005_multi_commands.py | 18 | 0 | 0 | 0 | 0 | 100% |
tests/test_006_pydantic_types.py | 21 | 0 | 0 | 0 | 0 | 100% |
Total | 243 | 1 | 15 | 52 | 8 | 97% |
No items found using the specified filter.