Skip to content

Conversation

@DhavalGojiya
Copy link
Contributor

Summary

Allow Ruff linter in pre-commit to automatically fix lint issues by writing files.

After running pre-commit, if any files have lint issues, this will automatically fix them.

Now we only need to run git add . and re-run pre-commit; this time everything will pass,
instead of running ruff check --fix . again.

@cclauss cclauss enabled auto-merge (squash) November 14, 2025 15:09
@cclauss cclauss merged commit 13deb10 into django-haystack:master Nov 14, 2025
9 checks passed
@DhavalGojiya DhavalGojiya deleted the feat/pre-commit-ruff-check-write branch November 14, 2025 15:22
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.

2 participants