Add an approach for determining if a dataclass field is supported #2452
ci.yml
on: pull_request
Matrix: test
Lint Commit Messages
15s
lint
13s
Build Package
10s
Test Semantic Release
50s
release
0s
Annotations
2 errors
|
lint
Process completed with exit code 1.
|
|
Lint Commit Messages
You have commit messages with errors
⧗ input: Add an approach for determining if a dataclass field is supported
This consists of multiple concepts:
- DeviceFeaturesTrait defines a method `is_field_supported` which will tell you if an optional field on a RoborockBase class type is supported or not
- The RoborockBase field defins a metadata attribute for a product schea code which is used to check the field against some other source
- We could substitue in other values in DeviceFeatures or status in the future as needed.
This adds 6 fields that are straight forward to add.
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
|