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

Run pre-commit via uv in CI #17052

Merged
merged 2 commits into from
Mar 28, 2025
Merged

Run pre-commit via uv in CI #17052

merged 2 commits into from
Mar 28, 2025

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Mar 28, 2025

Installing pre-commit via pip can take up to 6s sometimes in CI (e.g. https://github.com/astral-sh/ruff/actions/runs/14137246278/job/39611795976). Installing pre-commit via uv should be faster. It also simplifies the workflow and improves the amount we're dogfooding our own tools

Installing pre-commit via pip can take up to 6s sometimes in CI. Installing pre-commit via uv should be faster. It also simplifies the workflow and improves the amount we're dogfooding our own tools
@AlexWaygood AlexWaygood added the ci Related to internal CI tooling label Mar 28, 2025
@AlexWaygood AlexWaygood marked this pull request as ready for review March 28, 2025 21:08
@AlexWaygood AlexWaygood enabled auto-merge (squash) March 28, 2025 21:09
@AlexWaygood AlexWaygood disabled auto-merge March 28, 2025 21:11
@AlexWaygood AlexWaygood enabled auto-merge (squash) March 28, 2025 21:12
@AlexWaygood AlexWaygood merged commit 9ae2900 into main Mar 28, 2025
21 checks passed
@AlexWaygood AlexWaygood deleted the alex/faster-precommit branch March 28, 2025 21:16
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@akx akx mentioned this pull request Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Related to internal CI tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants