Basilisk and Sonar #210
Replies: 1 comment 3 replies
-
Hi @JeanLoupCaillet, I agree. I also use PyCharm/CLion, with a combination of SonarLint, Cppcheck, and others. I have a config file for these tools which excludes certain rules. For example I selectively exclude the rule on regex matching for variables names given Basilisk chose camel case and established a format for writing math as a variable name back at the projects start. So perhaps, a combination of a set of linting rules maintained in the repo, along with a linting tool configuration that can be run locally and as part of the CI pipelines would serve. My hope is that we do the same for module code, and Basilisk core architectural code. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I would like to propose some python rules in term of coding.
Indeed I'm using PyCharm IDE and a Sonar plugin (NB: VsCode also have the correct plugin) and I think it would be great for all of us if we respect the same coding rules.
https://docs.sonarqube.org/9.6/analyzing-source-code/languages/python/
What do you think ?
I'm open to the discussion :)
I provided a screenshot as example:
Beta Was this translation helpful? Give feedback.
All reactions