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 PEP8 errors in wxplot/ #4699

Merged
merged 2 commits into from
Nov 20, 2024
Merged

wxGUI: Fixed PEP8 errors in wxplot/ #4699

merged 2 commits into from
Nov 20, 2024

Conversation

arohanajit
Copy link
Contributor

Following PEP8 errors were fixed in wxplot/

  • profile.py:253 - Replaced bare except with except IndexError when handling list.pop() failure
  • profile.py:489 - Added specific exceptions (ValueError, TypeError, KeyError) for NumPy statistical calculations
  • base.py:207 - Added CalledModuleError catch for GRASS raster info parsing failures
  • base.py:273 - Added (IndexError, CalledModuleError) catch for raster pair info parsing and index access
  • histogram.py - Added Exception as I could not find any specific exceptions which maybe applicable

@github-actions github-actions bot added GUI wxGUI related Python Related code is in Python labels Nov 13, 2024
@echoix echoix changed the title wxGUI: FIxed PEP8 errors in wxplot/ wxGUI: Fixed PEP8 errors in wxplot/ Nov 13, 2024
@echoix echoix merged commit 2b16928 into OSGeo:main Nov 20, 2024
25 of 26 checks passed
@github-actions github-actions bot added this to the 8.5.0 milestone Nov 20, 2024
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