Skip to content

MNT Add missing cython-lint install in lint workflow #31208

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

Merged
merged 3 commits into from
Apr 15, 2025

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Apr 15, 2025

Reference Issues/PRs

See #31015.

What does this implement/fix? Explain your changes.

Fix bug introduced by this commit in #31015:
620b0de MNT black → ruff format

Any other comments?

See for example;
https://github.com/scikit-learn/scikit-learn/actions/runs/14468417323/job/40576084429?pr=31207

The linter issue cannot be entirely fixed within this PR, because the CI job is partly driven by main. See #31015 (review) and #31015 (review).

Introduced by this commit in scikit-learn#31015:
620b0de MNT black → ruff format
@lesteve lesteve changed the title MNT Fix bug introduced by ff78e25 to fix CI MNT Add missing cython-lint install in lint workflow Apr 15, 2025
Copy link
Member

@lesteve lesteve left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the fix!

@lesteve lesteve enabled auto-merge (squash) April 15, 2025 12:08
@lesteve
Copy link
Member

lesteve commented Apr 15, 2025

I enabled auto-merge, this will be merged automatically when CI is green.

@DimitriPapadopoulos
Copy link
Contributor Author

@lesteve The thing is that CI cannot be green because the linter CI job is partly driven by main.

@lesteve
Copy link
Member

lesteve commented Apr 15, 2025

Auto-merge will still work, it relies "required" check to be green and right now the GHA linting is not a "required" check.

@lesteve lesteve merged commit 603720d into scikit-learn:main Apr 15, 2025
34 of 36 checks passed
@lesteve
Copy link
Member

lesteve commented Apr 15, 2025

The linting workflow seems fine now in PRs for example #31202 (I just merged main to trigger the CI).

@DimitriPapadopoulos DimitriPapadopoulos deleted the cython-lint branch April 15, 2025 12:50
lucyleeow pushed a commit to EmilyXinyi/scikit-learn that referenced this pull request Apr 23, 2025
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