Skip to content

SONARPY-961 Typeshed: serialize only public import #1073

Merged
andrea-guarino-sonarsource merged 4 commits into
masterfrom
SONARPY-961
Feb 4, 2022
Merged

SONARPY-961 Typeshed: serialize only public import #1073
andrea-guarino-sonarsource merged 4 commits into
masterfrom
SONARPY-961

Conversation

@guillaume-dequenne
Copy link
Copy Markdown
Contributor

No description provided.

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.

Looks great! I think we could add a unit test in the serializer for from module import *

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.

unnecessary change?

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 miss a test with from library import *
Can we maybe add a fakeImportedModule and do from fakeImportedModule import * ?

Comment thread sonar-python-plugin/pom.xml Outdated
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.

woohoo!

@sonarsource-next
Copy link
Copy Markdown

@andrea-guarino-sonarsource andrea-guarino-sonarsource merged commit cee57f2 into master Feb 4, 2022
@andrea-guarino-sonarsource andrea-guarino-sonarsource deleted the SONARPY-961 branch February 4, 2022 16:51
hashicorp-vault-sonar-prod Bot pushed a commit that referenced this pull request Apr 24, 2026
#1073)

Co-authored-by: Vibe Bot <vibe-bot@sonarsource.com>
GitOrigin-RevId: 7bdde59ec9c6b50dfd3d7e32d6e61c1cabd0c302
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