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