Skip to content

SONARPY-778 Rule S5890: Values assigned to variables should match their type annotations#847

Merged
guillaume-dequenne merged 2 commits intomasterfrom
SONARPY-778
Aug 20, 2020
Merged

SONARPY-778 Rule S5890: Values assigned to variables should match their type annotations#847
guillaume-dequenne merged 2 commits intomasterfrom
SONARPY-778

Conversation

@guillaume-dequenne
Copy link
Copy Markdown
Contributor

No description provided.

@guillaume-dequenne guillaume-dequenne force-pushed the SONARPY-778 branch 5 times, most recently from 43919f3 to ea8bd33 Compare August 20, 2020 13:36
@guillaume-dequenne guillaume-dequenne marked this pull request as ready for review August 20, 2020 13:36
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.

LGTM, please check some minor comments

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 mark it as FN, as we'll probably want to detect it when we'll implement MMF-1977

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.

why did you use the fully qualified name for SubscriptionContext?

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.

minor: usually we don't add the Check suffix in the python file name

@sonarsource-next
Copy link
Copy Markdown

Kudos, SonarQube Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@guillaume-dequenne guillaume-dequenne merged commit d0e4e23 into master Aug 20, 2020
@guillaume-dequenne guillaume-dequenne deleted the SONARPY-778 branch August 20, 2020 17:29
hashicorp-vault-sonar-prod Bot pushed a commit that referenced this pull request Feb 10, 2026
GitOrigin-RevId: 549d33f6887bc6624be25eb09e74753d09095ebb
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