Hi Jessica,

Would you recommend any specific project that already has this configuration 
for Python that we can adapt?

Thanks,
Sastry

From: <[email protected]> on behalf of Jessica Wagantall 
<[email protected]>
Date: Thursday, February 15, 2018 at 10:40 PM
To: "[email protected]" <[email protected]>
Subject: [onap-discuss] Sonar is now enabled for python scans

Dear ONAP team,

Sonar has now been upgraded to scan python code.
I have tested it with few projects and it seems to be running the scans and 
detecting the py files.

We need to make sure the tests cover such files and we need to include the 
location of the
pythons sources in the pom file just like it was done for the java files.
For example:
    <sonar.language>py</sonar.language>
    <sonar.pluginName>Python</sonar.pluginName>
    <sonar.inclusions>**/*.py</sonar.inclusions>

I am also learning to configure pylint in case we need it.

The basic configuration is in place, but I am still checking any extensive 
configuration that
can come useful.

Let me know for any questions

Thanks
Jess

_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to