Skip to content

SONARPY-280 Update rule definitions for pylint 1.8#149

Merged
pynicolas merged 8 commits intomasterfrom
pylint_rules
Apr 16, 2018
Merged

SONARPY-280 Update rule definitions for pylint 1.8#149
pynicolas merged 8 commits intomasterfrom
pylint_rules

Conversation

@pynicolas
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@gcaill
Copy link
Copy Markdown

gcaill commented Apr 17, 2018

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