OpenCyphal / pycyphal

Python implementation of the Cyphal protocol stack.
https://pycyphal.readthedocs.io/
MIT License
119 stars 106 forks source link

Automatic formatting to ensure consistent style across the codebase #137

Closed pavel-kirienko closed 3 years ago

pavel-kirienko commented 3 years ago

This is a massive changeset but the changes are trivial and 99% automatic. Significant manual changes are implemented in the first commit, which merely replaces pycodestyle with Black. The contribution guide is updated accordingly.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 36962255


Changes Missing Coverage Covered Lines Changed/Added Lines %
pyuavcan/_cli/commands/call.py 14 15 93.33%
pyuavcan/_cli/commands/subscribe.py 10 11 90.91%
pyuavcan/dsdl/_composite_object.py 18 19 94.74%
pyuavcan/presentation/_port/_base.py 3 4 75.0%
pyuavcan/transport/can/_identifier.py 22 23 95.65%
pyuavcan/transport/can/media/pythoncan/_pythoncan.py 0 1 0.0%
pyuavcan/transport/udp/_ip/_v4.py 64 65 98.46%
pyuavcan/transport/udp/_udp.py 16 17 94.12%
tests/cli/_demo_app.py 48 49 97.96%
pyuavcan/_cli/commands/dsdl_generate_packages.py 23 25 92.0%
<!-- Total: 2046 2180 93.85% -->
Files with Coverage Reduction New Missed Lines %
pyuavcan/_cli/commands/dsdl_generate_packages.py 1 94.78%
pyuavcan/_cli/commands/_subsystems/node.py 1 91.49%
pyuavcan/_cli/_main.py 1 91.89%
pyuavcan/presentation/_port/_client.py 1 79.83%
pyuavcan/transport/redundant/_session/_output.py 1 96.91%
pyuavcan/transport/serial/_serial.py 1 93.09%
<!-- Total: 6 -->
Totals Coverage Status
Change from base Build 36960007: -0.003%
Covered Lines: 12047
Relevant Lines: 12429

💛 - Coveralls