OpenCyphal / pycyphal

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

[Draft] Implement FileClient2, which raises on error #328

Closed hannesweisbach closed 9 months ago

hannesweisbach commented 9 months ago

This PR aims to resolve issue #327. Currently it is in Draft status.

Open questions/issues:

There is a test which tries to write /bin/sh under Linux, which I don't like. I don't think that's a good idea, because it just might succeed. After all, nox prompts for a sudo password ...

coveralls commented 9 months ago

Coverage Status

coverage: 94.744% (+0.07%) from 94.679% when pulling e9c9bacc2ce15e6e8c6d9407b5abab40078923d7 on hannesweisbach:issue-327 into 765ab8d9bd22993f912cb7588763fbd7cdbe2b35 on OpenCyphal:master.

hannesweisbach commented 9 months ago

Just a quick review of the draft. Please mark the old FileClient deprecated.

Done.