Closed pavel-kirienko closed 4 years ago
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pyuavcan/presentation/_port/_subscriber.py | 1 | 81.14% | ||
pyuavcan/transport/can/media/socketcan/_socketcan.py | 1 | 82.57% | ||
.test_dsdl_generated/uavcan/si/sample/angle/Scalar_1_0.py | 1 | 84.0% | ||
.test_dsdl_generated/uavcan/si/sample/duration/Scalar_1_0.py | 1 | 84.0% | ||
.test_dsdl_generated/uavcan/si/sample/voltage/Scalar_1_0.py | 1 | 84.0% | ||
.test_dsdl_generated/uavcan/si/sample/volume/Scalar_1_0.py | 1 | 84.0% | ||
.test_dsdl_generated/uavcan/si/unit/energy/Scalar_1_0.py | 1 | 84.31% | ||
.test_dsdl_generated/uavcan/si/unit/length/Scalar_1_0.py | 1 | 84.31% | ||
.test_dsdl_generated/uavcan/si/unit/voltage/Scalar_1_0.py | 1 | 84.31% | ||
.test_dsdl_generated/uavcan/si/unit/volumetric_flow_rate/Scalar_1_0.py | 1 | 84.31% | ||
<!-- | Total: | 148 | --> |
Totals | |
---|---|
Change from base Build 678: | -0.07% |
Covered Lines: | 19316 |
Relevant Lines: | 20410 |
I realized that it is extremely unlikely that one will ever need to maintain several separate directories with DSDL-generated packages due to the inherent stability and immutability of DSDL definitions. The addition of a library-default path removes a substantial chunk of boilerplate from interactive sessions and simple scripts.
This PR makes the following possible, assuming that the package has been generated beforehand using the CLI tool:
Without this change, the functional equivalent would be:
This PR also brings a bunch of automatic cosmetic changes to the codebase, hence the large diff.