Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wxGUI: Fixed F405 in nviz/ #4567

Merged
merged 1 commit into from
Oct 21, 2024
Merged

wxGUI: Fixed F405 in nviz/ #4567

merged 1 commit into from
Oct 21, 2024

Conversation

arohanajit
Copy link
Contributor

Fixed F405 by specifying imports in nviz/

@github-actions github-actions bot added GUI wxGUI related Python Related code is in Python labels Oct 21, 2024
Copy link
Member

@echoix echoix left a comment

Choose a reason for hiding this comment

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

This looks pretty equivalent to the initial code, minus the star import. It will help static analysis (pyright for sure and maybe even CodeQL), especially since it's harder for them for anything that comes from the generated c types Python code, combined with start imports.

@petrasovaa petrasovaa added this to the 8.5.0 milestone Oct 21, 2024
@petrasovaa petrasovaa merged commit a4786e1 into OSGeo:main Oct 21, 2024
26 checks passed
@arohanajit arohanajit deleted the 405-nviz branch October 21, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI wxGUI related Python Related code is in Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants