Uh oh!
There was an error while loading. Please reload this page.
Add pre-commit, ruff check configuration and Github action - #405
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@hugovk Voilà! Thank you for a beautiful review. Some notes:
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
hugovk
commented
Sep 2, 2025
It's very important we can compare new benchmark runs with old ones, so let's just leave them be. We want to benchmark some sort of "real-life code", and unused variables is often part of that :)
Yes, makes sense. We can do it in followups. We might want to autoformat the code and keep ignoring E501.
Yeah, again it's safer to just leave the actual benchmarks as-is, but we could do a sweep of the benchmark-running code. I've used vulture a bit, there's also deadcode which is similar, but deadcode has nice colour output. |
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
After #404, I ran
uvx ruff checkand found a lot of not so subtle errors:Including benchmarks:
It makes one wonder how much of this code is actually dead...