Skip to content

Conversation

cyyever
Copy link
Contributor

@cyyever cyyever commented Sep 3, 2025

What does this PR do?

Enable ruff on benchmark and scripts

@Rocketknight1
Copy link
Member

cc core maintainers @ArthurZucker @Cyrilvallez for changes to repo-wide ruff rules

@Cyrilvallez
Copy link
Member

Yup, happy to activate it for those dirs as well, but then let's add benchmark_v2 as well

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

cyyever commented Sep 10, 2025

@Cyrilvallez Added

Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
@Cyrilvallez
Copy link
Member

Humm, why did you add it to the PHONY list? 🤔 We need it as a check_dir

@Cyrilvallez
Copy link
Member

Will do it

@Cyrilvallez
Copy link
Member

Merging thanks!

@Cyrilvallez Cyrilvallez merged commit a5ecd94 into huggingface:main Sep 10, 2025
12 checks passed
@cyyever cyyever deleted the ruff_cover branch September 10, 2025 09:53
vijayabhaskar-ev pushed a commit to vijayabhaskar-ev/transformers that referenced this pull request Oct 2, 2025
* Enable ruff on benchmark and scripts

Signed-off-by: cyy <cyyever@outlook.com>

* Cover benchmark_v2

Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>

* correct

* style

* style

---------

Signed-off-by: cyy <cyyever@outlook.com>
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
yuchenxie4645 pushed a commit to yuchenxie4645/transformers that referenced this pull request Oct 4, 2025
* Enable ruff on benchmark and scripts

Signed-off-by: cyy <cyyever@outlook.com>

* Cover benchmark_v2

Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>

* correct

* style

* style

---------

Signed-off-by: cyy <cyyever@outlook.com>
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
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