style: ruff format 4 test files unformatted after #829 merge#834
style: ruff format 4 test files unformatted after #829 merge#834mvalentsev wants to merge 1 commit intoMemPalace:developfrom
Conversation
|
Thanks, let me confirm what is going on |
|
Thanks for looking into this, but the premise doesn't hold up — CI's lint job is actually passing on develop and on every other open PR. Quick check:
#834 is the only PR where lint fails — and its own CI log (job 71175428208) explains why: Root causeCI pins ruff to - run: pip install "ruff>=0.4.0,<0.5"
- run: ruff format --check .On current develop: On your branch the same pinned ruff wants to revert your changes — because ruff's preferred style for What would actually workIf we want to move to newer ruff's style, it needs to be a coordinated change: bump the pin in To validate any ruff work locally against what CI actually runs: uvx --from 'ruff>=0.4.0,<0.5' ruff format --check .
uvx --from 'ruff>=0.4.0,<0.5' ruff check .Happy to review a follow-up that bumps the pin + reformats the whole tree if the team wants that. |
|
You are absolutely right (f..ng claude), my bad. I was running a newer ruff locally (0.11+) and the style diff between 0.4.x and 0.11.x is what caused this. Should have pinned to the CI version before touching anything. Closing, sorry for the noise. |
@igorls -- the #829 merge landed 4 test files that don't pass
ruff format --check .:tests/test_closet_llm.pytests/test_closets.pytests/test_convo_miner.pytests/test_mcp_server.pyThis breaks lint CI on every open PR targeting develop right now (including mine and others). Pure whitespace fix, zero logic changes.