You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lint: fix the 17 ruff errors in tests/ (unused variables, nested with, dict()) #167
Build: fix each one by hand. If an unused variable was clearly meant to be checked, add the missing assertion rather than renaming it to _. Merge nested with blocks into one statement.
Done when:ruff check tests is clean, pytest tests passes, and nothing under src/ changes. If you add an assertion, say which one in the PR description.
Hi! I'd like to work on this. I reproduced it on main (ruff check tests reports 17 errors).
I'll fix them by hand as described: merge the nested with blocks (SIM117), add the missing assertion where an unused variable was clearly meant to be checked (RUF059/F841), replace the dict() calls (C408) and fix the mutable class default (RUF012). Nothing under src/ will change, and I'll make sure ruff check tests is clean and pytest tests passes. Could you assign it to me?
Hey, can i assign this bro ?
Plan: fix the 17 ruff errors in tests/ by hand (merge the nested with blocks, add the missing assertions, replace the dict() calls, fix the mutable class default), without touching src/. Then I'll make sure ruff check tests is clean and pytest tests passes.
Plan: fix each of the 17 by hand, adding the missing assertion where an unused variable was clearly meant to be checked and merging the nested with blocks. Nothing under src/ changes. I'll name any added assertion in the PR description.
Activity
KhHuyy commentedon Nov 21, 2026
Hi! I'd like to work on this. I reproduced it on main (ruff check tests reports 17 errors).
I'll fix them by hand as described: merge the nested with blocks (SIM117), add the missing assertion where an unused variable was clearly meant to be checked (RUF059/F841), replace the dict() calls (C408) and fix the mutable class default (RUF012). Nothing under src/ will change, and I'll make sure ruff check tests is clean and pytest tests passes. Could you assign it to me?
hnimXgibhut commentedon Nov 21, 2026
Hey, can i assign this bro ?
Plan: fix the 17 ruff errors in tests/ by hand (merge the nested with blocks, add the missing assertions, replace the dict() calls, fix the mutable class default), without touching src/. Then I'll make sure ruff check tests is clean and pytest tests passes.
Varunpoojari commentedon Nov 22, 2026
I'd like to take this.
Plan: fix each of the 17 by hand, adding the missing assertion where an unused variable was clearly meant to be checked and merging the nested
withblocks. Nothing undersrc/changes. I'll name any added assertion in the PR description.