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

Make ruff the default binary #9558

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Make ruff the default binary #9558

merged 1 commit into from
Jan 16, 2024

Conversation

charliermarsh
Copy link
Member

Summary

This makes cargo run equivalent to cargo run -p ruff which is almost always what you want.

@charliermarsh charliermarsh added the internal An internal refactor or improvement label Jan 16, 2024
Copy link

codspeed-hq bot commented Jan 16, 2024

CodSpeed Performance Report

Merging #9558 will improve performances by 4.55%

Comparing charlie/default (604e926) with main (8118d29)

Summary

⚡ 1 improvements
✅ 29 untouched benchmarks

Benchmarks breakdown

Benchmark main charlie/default Change
parser[numpy/ctypeslib.py] 12.8 ms 12.2 ms +4.55%

Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@charliermarsh charliermarsh merged commit 29c130f into main Jan 16, 2024
17 checks passed
@charliermarsh charliermarsh deleted the charlie/default branch January 16, 2024 23:31
@@ -10,6 +10,7 @@ documentation = { workspace = true }
repository = { workspace = true }
license = { workspace = true }
readme = "../../README.md"
default-run = "ruff"
Copy link
Member

Choose a reason for hiding this comment

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

TIL about default-run. Nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants