org.sonar.plugins.python.profile-default.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-python-plugin Show documentation
Show all versions of sonar-python-plugin Show documentation
Enable analysis and reporting on python projects.
<?xml version="1.0" encoding="UTF-8"?> <!-- Default Python profile containing the active rules and their --> <!-- severities. Only pylint rules are contained for the time being. The --> <!-- severity assignment strategy is simple, just use the pylint violation --> <!-- category as shown below: --> <!-- CXXXX (Coding style related issues) -> Disabled --> <!-- EXXXX (Potential programming errors) -> MAJOR --> <!-- FXXXX (Failures while analyzing) -> MAJOR --> <!-- IXXXX (Enabling/Disabling Messages) -> INFO --> <!-- RXXXX (Refactoring advices) -> MINOR --> <!-- WXXXX (Warnings) -> MINOR --> <!-- Reasons for doing this: --> <!-- - The CXXXX-Rules are not included by purpose, because they tend to --> <!-- produce A LOT of style related violations, especially on a --> <!-- virgin .pylintrc. So switch them of, at least for now. --> <!-- - The EXXXX-Rules are potential programming errors resulting in bad --> <!-- behavior. So weight them as "MAJOR". --> <!-- - The FXXXX violations are about failures when doing the actual --> <!-- analysis. Weight them as major because they indicate a partly --> <!-- broken analysis and thus you may rely on an incomplete picture when --> <!-- doing decisions. --> <!-- - The RXXXX violations are refactoring advices. While doing --> <!-- refactoring is also important, they don't indicate behavior problems --> <!-- but structural problems and have to receive less weight than the --> <!-- errors, at least by default. Custom profiles may want to give them --> <!-- more weight, especially when the EXXXX violations in code bases in --> <!-- question are mostly eliminated. --> <!-- - The IXXXX violations are essentially information about some of the --> <!-- input being ignored because of the user submitted options or --> <!-- configuration. --> <!-- - The WXXXX violations have the character of warnings and thus should --> <!-- have less weight then the errors. So we go for "MINOR" by --> <!-- default. Some of them have the potential to be "MAJOR", though. --> <!-- - The categories "CRITICAL" and "BLOCKER" are unused in this initial --> <!-- default configuration and reserved for custom, user and code base --> <!-- specific configurations. --> <profile> <name>Sonar way</name> <language>py</language> <rules> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0001</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0011</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0012</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0100</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0101</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0102</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0103</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0104</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0105</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0106</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0107</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0202</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0203</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0211</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0213</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0221</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0222</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0501</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0502</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0503</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0601</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0602</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0611</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0701</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0702</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0710</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E0711</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1001</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1002</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1003</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1101</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1102</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1103</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1111</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1120</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1121</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1122</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1123</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1124</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1300</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1301</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1302</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1303</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1304</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1305</key> <priority>MAJOR</priority> </rule> <rule><repositoryKey>Pylint</repositoryKey> <key>E1306</key> <priority>MAJOR</priority></rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>F0001</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>F0002</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>F0003</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>F0004</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>F0010</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>F0202</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>F0220</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>F0321</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>F0401</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>I0001</key> <priority>INFO</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>I0010</key> <priority>INFO</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>I0011</key> <priority>INFO</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>I0012</key> <priority>INFO</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>I0013</key> <priority>INFO</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0201</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0401</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0801</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0901</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0902</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0903</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0904</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0911</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0912</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0913</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0914</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0915</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0921</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0922</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>R0923</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0101</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0102</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0104</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0105</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0106</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0107</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0108</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0109</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0122</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0141</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0142</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0150</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0199</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0201</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0211</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0212</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0221</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0222</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0223</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0231</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0232</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0233</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0301</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0311</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0312</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0331</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0332</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0333</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0401</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0402</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0403</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0404</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0406</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0410</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0511</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0601</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0602</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0603</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0604</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0611</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0612</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0613</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0614</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0621</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0622</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0631</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0701</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0702</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0703</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0704</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W0710</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W1001</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W1111</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W1201</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W1300</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>W1301</key> <priority>MINOR</priority> </rule> </rules> <!-- new in pylint 0.24 --> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1200</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1201</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1205</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>Pylint</repositoryKey> <key>E1206</key> <priority>MAJOR</priority> </rule> </profile>