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

pythonlib: Enable bare except warning #1549

Merged
merged 2 commits into from
May 15, 2021

Conversation

wenzeslaus
Copy link
Member

  • Enable Flake8 warning for bare except globally.
  • Fix files with only ImportError missing or bare except-raise with finally
    (where finally is sufficient).
  • Replace temporal directory ignores by true per-file ignores.

@wenzeslaus
Copy link
Member Author

Depends on #1543 and #1544.

@wenzeslaus wenzeslaus marked this pull request as ready for review May 11, 2021 00:44
* Enable Flake8 warning for bare except globally.
* Fix files with only ImportError missing or bare except-raise with finally
  (where finally is sufficient).
* Replace temporal directory ignores by true per-file ignores.
@wenzeslaus wenzeslaus force-pushed the grass-pkg-bare-except-warning branch from aa9476a to 2cbb6a7 Compare May 11, 2021 02:39
@wenzeslaus wenzeslaus merged commit 388e5ff into OSGeo:master May 15, 2021
@wenzeslaus wenzeslaus deleted the grass-pkg-bare-except-warning branch May 15, 2021 02:20
@neteler neteler added this to the 8.0.0 milestone Dec 9, 2021
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Oct 26, 2022
* Enable Flake8 warning for bare except globally.
* Fix files with only ImportError missing or bare except-raise with finally
  (where finally is sufficient).
* Replace temporal directory ignores by true per-file ignores.
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Feb 17, 2023
* Enable Flake8 warning for bare except globally.
* Fix files with only ImportError missing or bare except-raise with finally
  (where finally is sufficient).
* Replace temporal directory ignores by true per-file ignores.
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