newbie questions: Development flow
Posted: Thu Nov 01, 2018 9:39 am
Hi! I am just starting to get into micropython and have a lot of questions about the flow of the development and tools.
It will be good if someone will help with part of the questions or directions to the solution.
1. Tools for syntax check and linters. Its very bad idea to know if there is a syntax error in the code and know about it only after uploading the code and looking at the logs of the board. I tried pylint, but it does not like micropython std libraries. Is there are any syntax check cli tools for micropython?
2. Uploading files is pain in the ass. Is there are any bash or other scripts to precompile the code, upload it to the board and show logs?
3. I've seen unittest library in std, but there are no info in the repo or google about how to use it. I am looking at two cases: running tests in unix version of micropython on CI/CD and running integration tests on the board itself for final checks. How this can be solved?
It will be good if someone will help with part of the questions or directions to the solution.
1. Tools for syntax check and linters. Its very bad idea to know if there is a syntax error in the code and know about it only after uploading the code and looking at the logs of the board. I tried pylint, but it does not like micropython std libraries. Is there are any syntax check cli tools for micropython?
2. Uploading files is pain in the ass. Is there are any bash or other scripts to precompile the code, upload it to the board and show logs?
3. I've seen unittest library in std, but there are no info in the repo or google about how to use it. I am looking at two cases: running tests in unix version of micropython on CI/CD and running integration tests on the board itself for final checks. How this can be solved?