Skip to content

Enable more ruff UP rules#40579

Merged
Cyrilvallez merged 2 commits intohuggingface:mainfrom
cyyever:up9
Sep 2, 2025
Merged

Enable more ruff UP rules#40579
Cyrilvallez merged 2 commits intohuggingface:mainfrom
cyyever:up9

Conversation

@cyyever
Copy link
Copy Markdown
Contributor

@cyyever cyyever commented Sep 1, 2025

What does this PR do?

Fix and enable remaining ruff rules.

Signed-off-by: cyy <cyyever@outlook.com>
Signed-off-by: cyy <cyyever@outlook.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Sep 1, 2025

[For maintainers] Suggested jobs to run (before merge)

run-slow: florence2, gemma3n, sam2, sam2_video

@Rocketknight1
Copy link
Copy Markdown
Member

More Ruff rules, so cc core maintainers @ArthurZucker @Cyrilvallez!

Copy link
Copy Markdown
Member

@Cyrilvallez Cyrilvallez left a comment

Choose a reason for hiding this comment

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

All right, changes look good, mostly replacing deprecated usages. Thanks!

@Cyrilvallez Cyrilvallez merged commit a470f21 into huggingface:main Sep 2, 2025
22 checks passed
@cyyever cyyever deleted the up9 branch September 22, 2025 11:50
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.

3 participants