diff --git a/pom.xml b/pom.xml
index c0cadf9..b574587 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
fr.cnes.sonar.plugins.python
sonar-cnes-python-plugin
sonar-plugin
- 1.1
+ 1.2
SonarQube CNES Python Plugin
CNES plugin for SonarQube that provides further rules to check to Pylint using Pylint CNES Checker Plugin.
diff --git a/src/main/resources/fr/cnes/sonar/plugins/python/rules/additional-rules.xml b/src/main/resources/fr/cnes/sonar/plugins/python/rules/additional-rules.xml
index 9f194d3..86e4637 100644
--- a/src/main/resources/fr/cnes/sonar/plugins/python/rules/additional-rules.xml
+++ b/src/main/resources/fr/cnes/sonar/plugins/python/rules/additional-rules.xml
@@ -16,63 +16,6 @@
along with cnespython. If not, see .
-->
-
- C0411
-
- C0411
-
- %s comes before %s Used when PEP8 import order is not respected
- (standard imports first, then third-party libraries, then local imports).
]]>
-
- CRITICAL
-
-
- C0413
-
- C0413
-
- Import “%s” should be placed at the top of the module.
- Used when code and imports are mixed.]]>
-
- CRITICAL
-
-
- C0113
-
- C0113
-
- Consider changing “%s” to “%s”.
- Used when a boolean expression contains an unneeded negation.]]>
-
- CRITICAL
-
-
- C0122
-
- C0122
-
- Comparison should be %s.
- Used when the constant is placed on the left side
- of a comparison. It is usually clearer in intent
- to place it in the right hand side of the comparison.]]>
-
- CRITICAL
-
-
- R0203
-
- R0203
-
- Consider using a decorator instead of calling static method.
- Used when a static method is defined without using the decorator syntax.]]>
-
- CRITICAL
-
R0204
@@ -85,15 +28,4 @@
CRITICAL
-
- C0412
-
- C0412
-
- Imports from package %s are not grouped.
- Used when imports are not grouped by packages.]]>
-
- CRITICAL
-
\ No newline at end of file
diff --git a/src/test/java/fr/sonar/plugins/python/tests/CnesPythonRulesDefinitionTest.java b/src/test/java/fr/sonar/plugins/python/tests/CnesPythonRulesDefinitionTest.java
index d5eada4..7ee114d 100644
--- a/src/test/java/fr/sonar/plugins/python/tests/CnesPythonRulesDefinitionTest.java
+++ b/src/test/java/fr/sonar/plugins/python/tests/CnesPythonRulesDefinitionTest.java
@@ -34,7 +34,7 @@ public class CnesPythonRulesDefinitionTest {
/**
* Rules' number expected to be added by the plugin
*/
- private static final int PLUGIN_RULES_NUMBER = 22;
+ private static final int PLUGIN_RULES_NUMBER = 16;
/**
* RulesDefinition for testing
*/