Skip to content

Conversation

pynicolas
Copy link
Contributor

No description provided.

@pynicolas pynicolas changed the title Update rule definitions for pylint 1.8 SONARPY-280 Update rule definitions for pylint 1.8 Apr 13, 2018
List<RulesDefinition.Rule> rules = repository.rules();
assertThat(rules).isNotNull();
assertThat(rules).hasSize(180);
assertThat(rules).hasSize(322);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pynicolas I noticed inconsistency: we declare 322 rules, but there are 328 entries in remediation cost file.
Also while there are 142 rules added in rules.xml, there are only 116 added in rules_generated.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vilchik-elena I fixed the first inconsistencies you noticed in d632d01. We now define 325 rules.
The second set of inconsistencies is due to the rules which were removed by pylint and which we still want to define: these rules were removed from rules_generated.xml but not from rules.xml.
Thanks!

@pynicolas pynicolas merged commit 277e862 into master Apr 16, 2018
@pynicolas pynicolas deleted the pylint_rules branch April 16, 2018 06:49
@gcaill19
Copy link

Thanks for your response time @pynicolas ! much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants