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

🚜 Move/invoke pre-commit via UV #327

Open
jefftriplett opened this issue Sep 17, 2024 · 0 comments
Open

🚜 Move/invoke pre-commit via UV #327

jefftriplett opened this issue Sep 17, 2024 · 0 comments

Comments

@jefftriplett
Copy link

# Run pre-commit on all files
[no-cd]
lint: install-precommit
$python -m pre_commit run --all-files
@just project just-fmt

I think we can speed stuff up (at least for me) if we switch to UV's tool feature:

# Run pre-commit on all files
[no-cd]
lint:
    uv run --with pre-commit-uv pre-commit run --all-files
@jefftriplett jefftriplett changed the title 🚜 Move/invoke pre-commit via uv 🚜 Move/invoke pre-commit via UV Sep 17, 2024
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

No branches or pull requests

1 participant