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

[Issue 1541] Ran make lint on analytics folder #1539

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Conversation

coilysiren
Copy link
Collaborator

@coilysiren coilysiren commented Mar 25, 2024

Summary

Relates to #1541

Time to review: 2 mins

Changes proposed

I ran make lint then committed most of the results. I didn't commit all of the results because this isn't my code and so I don't want to overstep. Which is to say, make lint produced even more changes that you don't see in this PR. I think it would ideally be the responsibility of the code author(s) to address those changes.

Context for reviewers

This PR is necessary due to CI not actually checking if the lining is being done. See #1541 for more details.

@coilysiren coilysiren changed the title Ran make lint on analytics folder [Issue 1541] Ran make lint on analytics folder Mar 25, 2024
@coilysiren coilysiren marked this pull request as ready for review March 25, 2024 22:05
@widal001
Copy link
Collaborator

@coilysiren Can you also update the black and ruff checks in the make lint command to this:

$(POETRY) run black src tests --check
$(POETRY) run ruff check src tests --fix --exit-non-zero-on-fix

It looks like the CI checks exited with a 0 because these were auto-fixed

Copy link
Collaborator

@widal001 widal001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for re-running these checks locally to pick up the changes!

Can you also update the ruff and the black lines in make lint to this so that auto-fixed errors exit with non-zero status:

$(POETRY) run black src tests --check
$(POETRY) run ruff check src tests --fix --exit-non-zero-on-fix

@coilysiren
Copy link
Collaborator Author

@coilysiren Can you also update the black and ruff checks in the make lint command to this:

@widal001 I have a ticket for that, here: #1541

I want it to be its own PR since its going to merge conflict with #1538 which is already in progress

@coilysiren coilysiren merged commit 0a25ccc into main Mar 26, 2024
2 checks passed
@coilysiren coilysiren deleted the analytics-linters branch March 26, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants