conductor-python
conductor-python copied to clipboard
Mypy support
Changes:
Added mypy configuration to pyproject.toml Added mypy check as a pre-commit and CI steps Implemented all ResourceAPI methods in adapters to provide type hints
Reason:
Improve code quality
Codecov Report
:x: Patch coverage is 86.42298% with 104 lines in your changes missing coverage. Please review.
| Files with missing lines | Coverage Δ | |
|---|---|---|
| .../asyncio_client/adapters/api/group_resource_api.py | 100.00% <100.00%> (ø) |
|
| ...yncio_client/adapters/api/metadata_resource_api.py | 100.00% <100.00%> (ø) |
|
| ...asyncio_client/adapters/api/schema_resource_api.py | 100.00% <100.00%> (ø) |
|
| .../conductor/asyncio_client/adapters/api/tags_api.py | 100.00% <100.00%> (ø) |
|
| ...r/asyncio_client/adapters/api/user_resource_api.py | 100.00% <100.00%> (ø) |
|
| ...ctor/asyncio_client/adapters/api_client_adapter.py | 95.45% <100.00%> (-0.05%) |
:arrow_down: |
| ...r/asyncio_client/adapters/models/action_adapter.py | 91.30% <100.00%> (+0.39%) |
:arrow_up: |
| ...ctor/asyncio_client/adapters/models/any_adapter.py | 71.42% <100.00%> (-1.30%) |
:arrow_down: |
| ...ters/models/descriptor_proto_or_builder_adapter.py | 88.00% <100.00%> (ø) |
|
| ...yncio_client/adapters/models/schema_def_adapter.py | 100.00% <100.00%> (ø) |
|
| ... and 130 more |
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.