Skip to content

SCANPY-178: The scanner should respect the SONAR_SCANNER_OPTS environment variable#219

Merged
joke1196 merged 2 commits intomasterfrom
SCANPY-178
Jun 13, 2025
Merged

SCANPY-178: The scanner should respect the SONAR_SCANNER_OPTS environment variable#219
joke1196 merged 2 commits intomasterfrom
SCANPY-178

Conversation

@joke1196
Copy link
Copy Markdown
Contributor

@joke1196 joke1196 commented Jun 13, 2025

SCANPY-178

Part of

@joke1196 joke1196 requested review from ghislainpiot June 13, 2025 11:55
@joke1196 joke1196 force-pushed the SCANPY-178 branch 2 times, most recently from 18505c8 to a0cafd6 Compare June 13, 2025 12:27
Copy link
Copy Markdown
Contributor

@ghislainpiot ghislainpiot left a comment

Choose a reason for hiding this comment

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

I left a suggestion, once you get the CI green LGTM

deprecated: bool = False

deprecation_message: Optional[str] = None
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.

I think we can combine the boolean into the optional

TOML_PATH: Key = "toml-path"

# ============ DEPRECATED ==============
SONAR_SCANNER_OPTS = "sonar.scanner.opts"
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.

Some have the Key typehint, some don't. Not sure if it is intentional

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.

I will add the type hint to the others

@joke1196 joke1196 force-pushed the SCANPY-178 branch 4 times, most recently from 45aff4d to 96e1e8f Compare June 13, 2025 14:03
@sonarqube-next
Copy link
Copy Markdown

@joke1196 joke1196 merged commit ff0e44d into master Jun 13, 2025
15 checks passed
@joke1196 joke1196 deleted the SCANPY-178 branch June 13, 2025 14:52
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