My IDE (PyCharm) complains about docstring example in entry point's docstring. Technically, since main function annotated with !, linter expects an infinite loop in it. That's the change.
Code-style improvements:
Line length complains. Few lines are longer than 100 chars.
There is a redundant blank line in one place, according to rustfmt.
During my work with this crate, few times I forgot that svdtools might deserve a special handling. Without it Makefile commands wouldn't work. Tracing back this issue is time consuming. I'd suggest to add an additional step to README.md to check that svdtools actually installed correctly.
Hey!
I have few minor suggestions at your trial)
main
function annotated with!
, linter expects an infinite loop in it. That's the change.rustfmt
.svdtools
might deserve a special handling. Without itMakefile
commands wouldn't work. Tracing back this issue is time consuming. I'd suggest to add an additional step toREADME.md
to check thatsvdtools
actually installed correctly.