Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SONARPY-2430: Enable all rules in the extend ruling #2230

Merged
merged 4 commits into from
Dec 11, 2024

Conversation

Seppli11
Copy link
Contributor

@Seppli11 Seppli11 commented Dec 10, 2024

SONARPY-2430

This PR tries to merge into the ruling-parallelization-master to not make the build on master slower

The syntax changed slightly. However, the content has stayed the same
@Seppli11 Seppli11 changed the base branch from master to ruling-parallelization-master December 10, 2024 09:51
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks good!
Just some further cleanup that can be made.


@BeforeAll
static void prepare_quality_profile() throws IOException {
List<String> ruleKeys = bugRuleKeys();

Choose a reason for hiding this comment

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

We can now remove this method (and close the associated ticket, after an honorable 3 years of waiting patiently to be handled).


import static java.nio.charset.StandardCharsets.UTF_8;
import static org.assertj.core.api.Assertions.assertThat;
import static org.sonar.python.it.RulingHelper.bugRuleKeys;
import static org.sonar.python.it.RulingHelper.getOrchestrator;

// Ruling test for bug rules, to ensure they are properly tested without slowing down the CI

Choose a reason for hiding this comment

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

Probably this comment doesn't make sense anymore.

Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube

Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM!

@Seppli11 Seppli11 merged commit fe768a7 into ruling-parallelization-master Dec 11, 2024
12 checks passed
@Seppli11 Seppli11 deleted the SONARPY-2430 branch December 11, 2024 15:02
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.

2 participants