Coding style #255
Closed
ssinhaleite
started this conversation in
Ideas
Replies: 3 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
About including a deadline in Issues and ToDos: |
Beta Was this translation helpful? Give feedback.
2 replies
-
We defined our code style guide, and I am attaching the PDF with the Python Style Guide. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To integrate all the SynSense software, we need to define our style guide.
Do we follow the Google style or Pep 8 for documentation? Do we define our own?
We should double-check what we have been doing in Rockpool as well.
Where do you add docstrings: class definition or init method? Is it a good practice to use both?
Do we use
Args
orParameters
as tags?Is our convention straightforward to add to black or other automated formatter?
Do we add PyLint to our coding best practices?
Check on error messages and use of a log system.
Handling code TODOs: every TODO should contain a) a deadline and b) an associated issue (should be mentioned in the code).
Do you have any thoughts/comments/suggestions?
Beta Was this translation helpful? Give feedback.
All reactions