Skip to content

Fix SonarCloud/pylint warnings#379

Draft
aloysbaillet wants to merge 2 commits into
AcademySoftwareFoundation:mainfrom
aloysbaillet:fix/sonarcloud-cleanup
Draft

Fix SonarCloud/pylint warnings#379
aloysbaillet wants to merge 2 commits into
AcademySoftwareFoundation:mainfrom
aloysbaillet:fix/sonarcloud-cleanup

Conversation

@aloysbaillet

Copy link
Copy Markdown
Contributor

Remove unused imports (os in utils.py, tempfile/os in test_utils.py), unused variable assignment in builder.py, unused arguments in deprecated CLI stubs, and deprecated ignore-mixin-members pylintrc option.

Closes #377

@aloysbaillet aloysbaillet requested a review from jfpanisset as a code owner April 5, 2026 02:43
@aloysbaillet aloysbaillet marked this pull request as draft April 5, 2026 02:49
@aloysbaillet aloysbaillet force-pushed the fix/sonarcloud-cleanup branch from e14e101 to ae436f9 Compare April 5, 2026 02:50
jfpanisset
jfpanisset previously approved these changes Apr 5, 2026

@jfpanisset jfpanisset 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.

Thank you for cleaning after me! Now that all packages are built as Conan packages, there's probably a bunch more cleanup to do, and opportunities to really leverage Conan to manage cross package dependencies.

@jfpanisset

Copy link
Copy Markdown
Contributor

Also for the build failure for the openssl wrapper: it recently was moved to ci-common since it is now a pre-requisite for building CMake (to have SSL support when CMake fetches packages itself). I think a "release" will be needed to create the corresponding Conan package on the Artifactory repository.

The concept of a "release" may need to be revisited, as well as how Conan packages are versioned.

@aloysbaillet

Copy link
Copy Markdown
Contributor Author

Thanks JF, I thought I could start letting my spare Claude tokens help out when possible.

…ated config

Remove unused imports (os in utils.py, tempfile/os in test_utils.py),
unused variable assignment in builder.py, unused arguments in deprecated
CLI stubs, and deprecated ignore-mixin-members pylintrc option.

Closes AcademySoftwareFoundation#377

Signed-off-by: Aloys Baillet <aloys.baillet+github@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@jfpanisset jfpanisset 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.

Thank you very much for those cleanups.

I recently started paying more attention to SonarCloud scanning, especially since it now scans GitHub Actions workflows as well. But the recent commit to remove support for "container packages" clearly needed some work.

@jfpanisset

Copy link
Copy Markdown
Contributor

This branch is still marked as "draft", is it ready to merge?

jfpanisset added a commit that referenced this pull request May 21, 2026
Originally submitted as [#379]
but still marked Draft, need to fix failing CI.

Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
@jfpanisset

Copy link
Copy Markdown
Contributor

I wanted to fix the CI Sonar job so I submitted this as #405

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.

Fixes for SonarCloud

2 participants