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
Code scanning #1934
Merged
Merged
Code scanning #1934
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
dopplershift
added
Area: Infrastructure
Pertains to project infrastructure (e.g. CI, linting)
Type: Bug
Something is not working like it should
labels
Jun 23, 2021
This pull request fixes 2 alerts when merging d6ddac6 into d3f8a83 - view on LGTM.com fixed alerts:
|
dopplershift
changed the title
Fix code scanning exclude for the METAR parser
Code scanning
Jun 23, 2021
dcamron
reviewed
Jun 23, 2021
Canopy main@97f5790, run through pyupgrader to make pure Python 3 code. Also went ahead and renamed the PEG file so the name of the generated module matches what we have in the tree.
This allows us to ignore it in CodeQL scanning.
Including a big commented out test for a solar_irradiance function we haven't had since the early days.
dcamron
approved these changes
Jun 24, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: Infrastructure
Pertains to project infrastructure (e.g. CI, linting)
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
metar_parser.py
from Canopy main (and rename PEG file tometar_parser.peg
to match and more easily generate); also rerunpyupdater
on it so that it's clean for Python 3.Checklist