-
Notifications
You must be signed in to change notification settings - Fork 413
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
Cleaning up analysis warnings #1937
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Found by CodeQL warning.
Restructure or otherwise avoid potentially undefined local variables.
dopplershift
added
Type: Bug
Something is not working like it should
Type: Maintenance
Updates and clean ups (but not wrong)
Area: Tests
Affects tests
Area: IO
Pertains to reading data
labels
Jun 25, 2021
Ok, looks like the tests hung--I'm guessing due to the same |
This puts it with the rest of the fixtures. Also set it in the only test that seems to need it now.
Had been disabled since merge waiting on a viable Cartopy version, which has long-since been released.
dcamron
requested changes
Jun 29, 2021
Inspired by some alerts from CodeQL, though most were false alarms.
Should be good now. |
dcamron
approved these changes
Jun 30, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: IO
Pertains to reading data
Area: Tests
Affects tests
Type: Bug
Something is not working like it should
Type: Maintenance
Updates and clean ups (but not wrong)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description Of Changes
Fixing up some style issues from CodeQL, including one real bug (in code for a NEXRAD product that likely no one uses).
set_agg_backend
with the rest of the fixtures inconftest.py
and only use on the one test that requires it (test_show
intest_declarative.py
, because otherwise it opens a window).test_mapping.py
--this was waiting on CartoPy>0.16 (0.17 came out November 2018). This is why, boys and girls, you don't comment things out but useskips
and stuff.