Safe-DS / Runner

Execute Safe-DS programs that were compiled to Python.
MIT License
2 stars 0 forks source link

refactor: use `pydantic` for message validation #91

Closed lars-reimann closed 6 months ago

lars-reimann commented 6 months ago

Summary of Changes

Use pydantic to easily describe valid messages.

github-actions[bot] commented 6 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 5 0 0 0.82s
✅ PYTHON mypy 5 0 2.48s
✅ PYTHON ruff 5 0 0 0.03s
✅ REPOSITORY git_diff yes no 0.02s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (e5e7011) to head (b935974).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #91 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 14 14 Lines 750 713 -37 ========================================= - Hits 750 713 -37 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

lars-reimann commented 6 months ago

:tada: This PR is included in version 0.13.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: