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

Add Code Linter CI #1265

Closed
wants to merge 28 commits into from
Closed

Conversation

mfixstsci
Copy link
Collaborator

@mfixstsci mfixstsci commented May 15, 2023

Adding ruff autolinter to repository.

@mfixstsci
Copy link
Collaborator Author

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 #noqa in line next to them. Let me know what you think.

https://github.com/spacetelescope/jwql/actions/runs/5059823979/jobs/9081903008?pr=1265

@mfixstsci mfixstsci changed the title Add Flake 8 Check Add Code Linter CI May 23, 2023
Copy link
Collaborator

@melanieclarke melanieclarke left a 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.

@mfixstsci
Copy link
Collaborator Author

@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!

@melanieclarke
Copy link
Collaborator

@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.

@mfixstsci
Copy link
Collaborator Author

Reopening in #1305.

@mfixstsci mfixstsci closed this Aug 14, 2023
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.

None yet

2 participants