Repository navigation
chore: up pre-commit-hooks version and fixes - #2668
Conversation
PR Summary by QodoBump pre-commit-hooks to v6.0.0 and apply repo-wide lint/whitespace fixes
AI Description
Diagram
High-Level Assessment
Files changed (36)
|
Code Review by Qodo
1.
|
|
Code review by qodo was updated up to the latest commit a675bb4 |
|
Thanks, this is close. Qodo caught the Merged onto main the suite matches main exactly: 2381 passing, plus the one pre-existing litellm-pin failure that also fails on clean main. The three conflicts are whitespace-only on your side but sit on main's newer code, so they resolve by keeping main's content. Happy to rebase it for you. Two to settle. Qodo suggested targeted isort excludes; the broader question is that commenting it out leaves nothing sorting imports, while #2511 hands that to the ruff hook. Keep isort here, or land this after ruff? Also |
a675bb4 to
da680e6
Compare
|
Code review by qodo was updated up to the latest commit da680e6 |
|
Code review by qodo was updated up to the latest commit ceab9f9 |
|
Code review by qodo was updated up to the latest commit 0ae2388 |
Hello, Ismael. I uncommented isort in pre-commits and fixed the warnings. To move isort in ruff is great idea, but if we do it in this PR the diff would be too big and there will be even more unconnected changes. |
|
Code review by qodo was updated up to the latest commit 1fff27e |
…_and_fixes # Conflicts: # pr_agent/tools/pr_line_questions.py
|
Code review by qodo was updated up to the latest commit f815851 |
#2880 replaced isort with ruff, so this branch's import reordering is already in main; what remains is the v6.0.0 hook additions and the whitespace they produce. Excludes uv.lock from check-added-large-files, since #2509 added it at 686 KB and the hook rejects it otherwise. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
IsmaelMartinez
left a comment
There was a problem hiding this comment.
Approving and merging. Thanks for this, and for staying with it through the review rounds.
One note on what changed. #2880 landed in the meantime and swapped isort for ruff, so the import reordering here was already in main and had turned into conflicts. I brought main in and dropped that duplicated part, which leaves the hook additions and the whitespace they actually produce: 31 files instead of 79. It is a merge rather than a rebase, so your commits keep their authorship.
I also excluded uv.lock from check-added-large-files, since #2509 landed it at 686 KB today and the hook rejects it otherwise.
All four checks green.
Hello
In PR:
Also:
Commented pre-commit isort (fixing more than 60 files that are not related to this PR)