-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add Code Linter CI #1265
Add Code Linter CI #1265
Conversation
Hey @BradleySappington @bhilbert4 @melanieclarke here is the most recent run that ignores line to long errors. I think that some of these will need to be fixed but some of them will need to have https://github.com/spacetelescope/jwql/actions/runs/5059823979/jobs/9081903008?pr=1265 |
…c ray monitor and removing templating
…. Ruff can ignore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there's still a few places where needed imports were removed, and some no-effect statements that should be taken out.
jwql/instrument_monitors/common_monitors/edb_telemetry_monitor_utils/condition.py
Show resolved
Hide resolved
jwql/website/apps/jwql/monitor_pages/monitor_readnoise_bokeh.py
Outdated
Show resolved
Hide resolved
@melanieclarke okay sorry for going silent on this for a while. All of your comments were addressed and added in all of the imports that are necessary. I wouldn't be surprised if we need to iterate again but this first round was a good start! |
@mfixstsci - your updates look good to me and local tests are passing. But there are some differences I don't understand between develop and this branch. It looks like some recent work from develop is missing from this branch -- the explore image and file download links for example. On the command line, merging develop in does not recover this work. Can you check your merge history for this branch? It's possible you might have overwritten changes from develop when resolving merge conflicts. |
Reopening in #1305. |
Adding ruff autolinter to repository.