Skip to content

Fix sonar maintainability issues - #142

Open
GabyUnalaq wants to merge 4 commits into
mainfrom
sonar_maintainability_fixes
Open

GabyUnalaq wants to merge 4 commits into
mainfrom
sonar_maintainability_fixes

Conversation

@GabyUnalaq

Copy link
Copy Markdown
Contributor

Description

There have been some issues discovered by SonarQube. This PR fixes them.
Sonar issues link: https://sonarcloud.io/project/issues?issueStatuses=OPEN%2CCONFIRMED&id=eclipse-ankaios_ank-sdk-python

Definition of Done

The PR shall be merged only if all items mentioned in CONTRIBUTING.md have been followed. In case an item is not applicable as described, please provide a short explanation in the description.

@GabyUnalaq GabyUnalaq self-assigned this Jul 16, 2026
@GabyUnalaq GabyUnalaq added the ready for review Waiting for a response from contributor label Jul 16, 2026
@sonarqubecloud

Copy link
Copy Markdown

Comment thread tests/workload/test_workload.py Outdated
workload.update_deny_rules(
[AccessRightRule.state_rule("Invalid", ["mask"])]
)
# with pytest.raises(WorkloadFieldException):

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.

Do we need this code?

@GabyUnalaq GabyUnalaq Oct 2, 2026 •

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.

This was commented out during the fixing of the issues. I uncommented and fixed the test.

@inf17101 inf17101 left a comment

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.

Just one finding.

@sonarqubecloud

sonarqubecloud Bot commented Oct 2, 2026

Copy link
Copy Markdown

This branch has not been deployed

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

Labels

ready for review Waiting for a response from contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants