Draft
Conversation
Add header comments recommending prek as a faster alternative to pre-commit. The configuration file remains fully compatible with both tools. Closes #4492 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Update the workflow section to recommend prek as a faster alternative to pre-commit for running linting hooks. Both tools remain supported and use the same configuration file. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Update the pre-commit target to automatically use prek if installed, falling back to pre-commit otherwise. This provides faster linting for developers who have prek installed while maintaining backwards compatibility. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Remove pre-commit from linting dependencies since prek is a standalone binary that doesn't require it. Developers who prefer pre-commit can still install it via `uvx pre-commit` or `pipx install pre-commit`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Update the upgrade target to use prek autoupdate when available, falling back to uvx pre-commit autoupdate otherwise. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Replace pre-commit with prek in the CI validate job for faster linting. Uses taiki-e/install-action for reliable binary installation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Replace the pre-commit devcontainer feature with Rust toolchain and install prek via cargo in the postCreateCommand. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
JacobCoffee
commented
Nov 26, 2025
JacobCoffee
commented
Nov 26, 2025
JacobCoffee
commented
Nov 26, 2025
JacobCoffee
commented
Nov 26, 2025
JacobCoffee
commented
Nov 26, 2025
JacobCoffee
commented
Nov 26, 2025
Simplify prek usage by using uvx everywhere: - Update config header to show uvx prek command - Update CONTRIBUTING.rst to use uvx for both tools - Update Makefile to use uvx prek directly - Update CI to use uvx prek via astral-sh/setup-uv - Simplify devcontainer to just run uv sync 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/4496 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Closes
Closes #4492